added methods for Set<String> preferences for each android version + cacher class