                 NSLog("Couldn't turn on monitoring: Required Location Access (Always) missing.")
                 monitoringSwitch?.on = false
             } else {
+                NSLog("Location Access (When In Use) granted!")
                 rangingSwitch?.on = true
             }
 


        switch CLLocationManager.authorizationStatus() {
        case CLAuthorizationStatus.AuthorizedAlways:
            if operationContext == kMonitoringOperationContext {
                monitoringSwitch?.on = true
            } else {

                NSLog("Couldn't turn on monitoring: Required Location Access (Always) missing.")
                monitoringSwitch?.on = false
            } else {
                NSLog("Couldn't turn on monitoring: Required Location Access (When In Use) missing.")
                rangingSwitch?.on = false
            }
        }
