Added switch to settings view controller.
* Removed setting of user default in app delegate.