public static void setCompactIconMode(final int compactIconMode) {
        switch (compactIconMode) {
            case COMPACTICON_OFF:
                putString(R.string.pref_compactIconMode, getKey(R.string.pref_compacticon_off));
                break;
            case COMPACTICON_ON:
                putString(R.string.pref_compactIconMode, getKey(R.string.pref_compacticon_on));
                break;
            case COMPACTICON_AUTO:
                putString(R.string.pref_compactIconMode, getKey(R.string.pref_compacticon_auto));
                break;
            default:
                // do nothing except satisfy static code analysis
                break;
        }
    }
Store showed popup counter for warning about logging Trackable recommend Geocode

@param showCount the count to save
main/src/main/java/cgeo/geocaching/settings/Settings.java