fixed double-click bug for tray icons