public static void setHideVisitedWaypoints(final boolean hideVisitedWaypoints) {
        putBoolean(R.string.pref_hideVisitedWaypoints, hideVisitedWaypoints);
    }
Remember the stata of the "hide visited waypoints"-checkbox in the waypoints overview dialog
main/src/main/java/cgeo/geocaching/settings/Settings.java