@Override
        protected void undoCommand() {
            cache.storeLogOffline(getContext(), previousState);
        }
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