Fixed bug with tray icon.