Added custom initTray() initialize function for tray