Fixed tray icon menu Edit when app is closed (osx), closes #630