Added exit action in tray