Improve tray icon notification behavior