persisting switch value via NSUserDefaults