public static int getAttributeFilterSources() {
        int setting = getInt(R.string.pref_attributeFilterSources, 0);
        if (setting == 0) {
            // guess a reasonable default value based on enabled connectors
            boolean gc = false;
            boolean okapi = false;
            final List<IConnector> activeConnectors = ConnectorFactory.getActiveConnectors();
            for (final IConnector conn : activeConnectors) {
                if ("GC".equals(conn.getNameAbbreviated()) || "AL".equals(conn.getNameAbbreviated())) {
                    gc = true;
                } else {
                    okapi = true;
                }
            }
            setting = 3 - (!gc ? 1 : 0) + (!okapi ? 2 : 0);
        }
        return setting;
    }
return a list of preference keys containing sensitive data
main/src/main/java/cgeo/geocaching/settings/Settings.java