     func updateOpenButtonStartScan() {
         
         UIView.animateWithDuration(0.5, animations: {
-            self.openButton.backgroundColor = self.BUTTON_COLOR_START_SCAN_NORMAL
+            self.openButton.backgroundColor = self.Colors.start
         })
         
         self.openButton.setBackgroundImage(
-            UIImage.imageWithColor(BUTTON_COLOR_START_SCAN_HIGHLIGHT),
+            UIImage.imageWithColor(self.Colors.startHighlight),
             forState: UIControlState.Highlighted
         )
 

        case BluetoothOff
        case Disconnected
    }
    
    var currentState = States.Disconnected
    

// Constructing global singleton of this
var captureCtrl : GOCaptureController = GOCaptureController()

// Struct containing the colors I use.
struct GOOpenerColors {
    let wait              = UIColor.colorWithHex("#D00000")!
    let waitHighlight     = UIColor.colorWithHex("#D00000")!
    let open              = UIColor.colorWithHex("#33BB33")!
    let openHighlight     = UIColor.colorWithHex("#208840")!
    let scanning          = UIColor.colorWithHex("#D00000")!
    let scanningHighlight = UIColor.colorWithHex("#D00000")!
    let start             = UIColor.colorWithHex("#1080C0")! //  FFAA00
    let startHighlight    = UIColor.colorWithHex("#0C4778")! // 0C4778 FFDD00
}


class GOOpenerController: UIViewController {
    @IBOutlet weak var openButton: UIButton!
    @IBOutlet weak var statusLabel: UILabel!
