     
     @IBAction func startPano(_ sender: UIButton) {
         showPadView(for: .freeMove)
+        setButtonStates(start: false, pause: false, cancel: true)
     }
     @IBAction func pausePano(_ sender: UIButton) {
         panoPeripheral?.send(command: .pause)
         showPadView(for: .gridMove)
+        setButtonStates(start: false, pause: false, cancel: true)
     }
     @IBAction func cancelPano(_ sender: UIButton) {
         panoPeripheral?.send(command: .cancel)
         hidePadView()
+        setButtonStates(start: true, pause: false, cancel: false)
     }
 
     func showPadView(for moveMode: MoveMode) {

            self.identifierUILabel.text = panoPeripheral.peripheral?.identifier.uuidString
            //self.signalUILabel.text = ...
        }
    }

    override func didReceiveMemoryWarning() {

        switch (status.running, status.paused) {
        case (1, 0):
            statusUILabel.text = " RUNNING"
            setButtonStates(start: false, pause: true, cancel: true)
        case (1, 1):
            statusUILabel.text = "PAUSED"
            setButtonStates(start: false, pause: false, cancel: true)
        default:
            statusUILabel.text = "ready"
        }
        if status.running == 1 && status.paused == 1 {
            showPadView(for: .gridMove)
