public void reset() {
        Schedulers.io().scheduleDirect(() -> {
            DataStore.clearTrailHistory();
            history.clear();
        });
    }
maximum number of positions to remember
main/src/main/java/cgeo/geocaching/maps/PositionHistory.java