private void setLastUsedLogType() {
        final LogTypeTrackable lastUsedAction = LogTypeTrackable.getById(Settings.getTrackableAction());
        if (logType.getValues().contains(lastUsedAction)) {
            logType.set(lastUsedAction);
        } else {
            //last used action is not possible -> select the most preferred default
            for (LogTypeTrackable candidate : PREFERRED_DEFAULTS) {
                if (logType.getValues().contains(candidate)) {
                    logType.set(candidate);
                    updateForNewType();
                    break;
                }
            }
            showToast(res.getString(R.string.info_log_type_changed));
        }
    }
How many times the warning popup for geocode not set should be displayed
main/src/main/java/cgeo/geocaching/log/LogTrackableActivity.java