 	
 	let statusItem = NSStatusBar.systemStatusBar().statusItemWithLength(NSVariableStatusItemLength)
 	
-	var timer: NSTimer!
+	var refreshTimer: NSTimer!
 
 	func applicationDidFinishLaunching(aNotification: NSNotification) {
 		//let icon = NSImage(named: "statusIcon")

		statusItem.menu = statusMenu
		//statusItem.title = "test"
		
		startTimer()
	}

	func applicationWillTerminate(aNotification: NSNotification) {
		timer.invalidate()
	}

	@IBAction func menuClicked(sender: NSMenuItem) {

		return nil
	}

	func startRefreshTimer() {
		refreshTimer = NSTimer.scheduledTimerWithTimeInterval(3, target: self, selector: #selector(AppDelegate.update), userInfo: nil, repeats: true)
        NSRunLoop.mainRunLoop().addTimer(refreshTimer, forMode: NSRunLoopCommonModes)
	}
	
	func update() {
