public void resortTrackables(final TrackableComparator comparator) {

            //sort trackables
            this.sort(comparator.getComparator());
            Settings.setTrackableComparator(comparator);

            handleChangedData();
        }
Checks whether there are favorite points available and sets the corresponding visibility of
"add to favorite" checkbox.
main/src/main/java/cgeo/geocaching/log/LogCacheActivity.java