Move tray menu to separate variable