public static void renameListPrefix(final String from, final String to) {
        if (StringUtils.isEmpty(from)) {
            return;
        }
        withAccessLock(() -> database.execSQL("UPDATE " + dbTableLists
            + " SET title=? || SUBSTR(title," + (from.length() + 1) + ")"
            + " WHERE SUBSTR(title,1," + from.length() + ") = ?", new String[]{ to, from }));
    }
Retrieve coordinates from a Cursor

@param cursor   a Cursor representing a row in the database
@param indexLat index of the latitude column
@param indexLon index of the longitude column
@return the coordinates, or null if latitude or longitude is null or the coordinates are invalid
main/src/main/java/cgeo/geocaching/storage/DataStore.java