Improve systray behavior with context menu and activation