 
 struct PermissionScopeConstants {
     static let requestedInUseToAlwaysUpgrade = "requestedInUseToAlwaysUpgrade"
+    static let requestedForBluetooth = "askedForBluetooth"
 }
 
 public enum PermissionType: String {

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

    }
    
    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
