 
 extension NSStatusBarButton {
     override public func rightMouseDown(theEvent: NSEvent) {
-        target!.performSelector(Action.rightMouseDown)
+        target!.performSelector(.rightMouseDown)
     }
 }

        statusItem.highlightMode = false
        if let button = statusItem.button {
            button.target = self
            button.action = Action.leftMouseDown
        }
        showCleanStatusIcon()
    }


import Cocoa

private extension Selector {
    static let leftMouseDown = #selector(CaffeineStatusItem.toggleInjection(_:))
    static let rightMouseDown = #selector(CaffeineStatusItem.popUpStatusItemMenu(_:))
}
