 
 import Cocoa
 
-private struct Action {
+private extension Selector {
     static let leftMouseDown = #selector(CaffeineStatusItem.toggleInjection(_:))
     static let rightMouseDown = #selector(CaffeineStatusItem.popUpStatusItemMenu(_:))
 }


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

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