"""
 import sys
 import os
+from time import sleep
 from PyQt4 import QtGui, QtCore
 from PyQt4.QtCore import SIGNAL
 from qmenutooltip import QMenuToolTip
         Default actions are builded and profile manager stored from argument (instance of ProfHandler """
 
         self.app = QtGui.QApplication(sys.argv)
-    
+        for i in range(3):
+               if not QtGui.QSystemTrayIcon.isSystemTrayAvailable():
+                       sleep(4)
+                       else:
+                               break
         #check if system tray is avaiable on the system
         if not QtGui.QSystemTrayIcon.isSystemTrayAvailable():
             QtGui.QMessageBox.critical(None, "Systray",