Refactor hotkeys. Support Mac OS X Notifications