     override init() {
         super.init()
 
-        let iconMenu = NSImage(named: "menu-logo")
-        iconMenu?.setTemplate(true)
+        self.iconMenu?.setTemplate(true)
 
         self.popoverView.frame = NSMakeRect(0, 0, NSStatusBar.systemStatusBar().thickness + 3, NSStatusBar.systemStatusBar().thickness)
         self.popoverView.delegate = self
         let imageView = NSImageView(frame: NSMakeRect(0, 0, NSStatusBar.systemStatusBar().thickness, NSStatusBar.systemStatusBar().thickness))
-        imageView.image = iconMenu
+        imageView.image = self.iconMenu
         self.popoverView.addSubview(imageView)
 
         self.popoverController.popoverManager = self

        }
    }

    // MARK: Delegate methods

    func openThatPopover() {

        self.popoverController.window?.makeFirstResponder(nil)
        self.popoverController.popover.close()
    }

    func configureThatView() {
        self.statusItem.menu = nil
        self.statusItem.image = nil
        self.statusItem.view = self.popoverView
    }

    func configureThatMenu() {
        self.statusItem.view = nil
        let firstItemMenu = NSMenuItem(title: "Get back to work", action: "onGetBackToWorkButtonPressed", keyEquivalent: "first")
        let secondItemMenu = NSMenuItem(title: "Preferences", action: "onPreferencesButtonPressed", keyEquivalent: "second")
        let thirdItemMenu = NSMenuItem(title: "Quit", action: "onQuitMenuButtonPressed", keyEquivalent: "third")
        self.menuPopover.addItem(firstItemMenu)
        self.menuPopover.addItem(secondItemMenu)
        self.menuPopover.addItem(thirdItemMenu)

        self.statusItem.menu = self.menuPopover
        self.statusItem.image = self.iconMenu
    }
}
