         case .Photos: return "Photos"
         case .Reminders: return "Reminders"
         case .Bluetooth: return "Bluetooth"
+        case .Motion: return "Motion"
         }
     }
     

        bluetoothManager.stopAdvertising()
    }
    
    // MARK: finally, displaying the panel

    @objc public func show(authChange: ((finished: Bool, results: [PermissionResult]) -> Void)? = nil, cancelled: ((results: [PermissionResult]) -> Void)? = nil) {

        if let disabledOrDeniedClosure = self.disabledOrDeniedClosure {
            disabledOrDeniedClosure(self.getResultsForConfig())
        }
        var alert = UIAlertController(title: "Permission for \(permission.stringValue()) was denied.",
            message: "Please enable access to \(permission.stringValue()) in the Settings app",
            preferredStyle: .Alert)
        alert.addAction(UIAlertAction(title: "OK",
            style: .Cancel,
