Added NSUserDefaults to settings