private void saveToStorage(final Location coordinates) {
        Schedulers.io().scheduleDirect(() -> DataStore.saveTrailpoint(coordinates));
    }
maximum number of positions to remember
main/src/main/java/cgeo/geocaching/maps/PositionHistory.java