testing iOS settings and userDefaults