public Map<String, Trackable> getInventory() {
            final Map<String, Trackable> inventory = new HashMap<>();
            for (int i = 0; i < getCount(); i++) {
                inventory.put(getItem(i).getGeocode(), getItem(i));
            }
            return inventory;
        }
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