     
     func updateOpenButtonStartScan() {
         
-        UIView.animateWithDuration(0.5, animations: {
+        UIView.animateWithDuration(1.0, animations: {
             self.openButton.backgroundColor = self.Colors.start
         })
         

    @IBOutlet weak var lumValueLabel: UILabel!
    @IBOutlet weak var lumLabel: UILabel!
    
    let Colors = GOOpenerColors()
    
    // An enum to keep track of the application states defined.
    enum States {

    
    func updateOpenButtonScanning() {
        
        UIView.animateWithDuration(1.0, animations: {
            self.openButton.backgroundColor = self.Colors.scanning
        })
        
