         }
     }
 
-    var state: LightState = .Off
+    var state: LightState = .On
 
     var brightnessLabel: UILabel!
     @IBOutlet weak var timerButton: UIButton!

        if timerActive {
            timerRunning = true
        }
    }

    func stop() {

        NSNotificationCenter.defaultCenter().addObserver(self, selector: "stop", name: UIApplicationWillResignActiveNotification, object: nil)
    }

    override func viewWillDisappear(animated: Bool) {
        super.viewWillDisappear(animated)

