         }
     }
     
-    let kAskedForBluetoothString = "askedForBluetooth"
     
     public func statusBluetooth() -> PermissionStatus{
-        let askedBluetooth = NSUserDefaults.standardUserDefaults().boolForKey(kAskedForBluetoothString)
+        let askedBluetooth = NSUserDefaults.standardUserDefaults().boolForKey(PermissionScopeConstants.requestedForBluetooth)
         
         // if already asked for bluetooth before, do a request to get status, else wait for user to request
         if askedBluetooth{
-            requestBluetooth()
+            triggerBluetoothStatusUpdate()
         } else {
             return .Unknown
         }


struct PermissionScopeConstants {
    static let requestedInUseToAlwaysUpgrade = "requestedInUseToAlwaysUpgrade"
}

public enum PermissionType: String {

    }
    
    func requestBluetooth() {
        
        switch statusBluetooth() {
        case .Disabled:
            showDisabledAlert(.Bluetooth)
        case .Unauthorized:
            showDeniedAlert(.Bluetooth)
        case .Unknown:
            triggerBluetoothStatusUpdate()
        default:
            break
        }
        
    }
    
    private func triggerBluetoothStatusUpdate() {
        NSUserDefaults.standardUserDefaults().setBool(true, forKey: PermissionScopeConstants.requestedForBluetooth)
        NSUserDefaults.standardUserDefaults().synchronize()
        bluetoothManager.startAdvertising(nil)
        bluetoothManager.stopAdvertising()
    }
    
    // MARK: finally, displaying the panel
