Refactoring: Added TrayMenu class