Store settings in NSUserDefaults