         var strength : Int = Int(ceil(Double(quality) / 20))
         
         dispatch_async(dispatch_get_main_queue(), {
-            self.rssiLabel.text = self.getConnectionBar(strength)
+            self.setSignalLevel(strength)
         })
     }
     

    
    
    func handleCaptureDeviceNotAuthorized(notification: NSNotification) {
        println("View: got notified capture is not authorized.")
        
        config.setBool(false, forKey: "useAutoTheme")
        self.setupWithoutAutoTheme()
        if self.hasShownCameraNotAuthorized == false {
            if (self.isViewLoaded() && (self.view.window != nil)) {
                self.showCameraNotAuthorizedAlert()
            } else {
                self.needToShowCameraNotAuthorizedAlert = true
            }
        } else {
            println("  - View: alert already shown - not showing again.")
        }
    }


            else if (msg == "Bluetooth Off") {
                self.currentState = States.BluetoothOff
                self.updateOpenButtonWait()
                self.setSignalLevel(0)
            }
            else if (msg == "Scanning") {
                self.currentState = States.Scanning
                self.updateOpenButtonScanning()
                self.setSignalLevel(0)
                self.activityIndicator.startAnimating()
            }
        })
