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


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


import Cocoa

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