Added main menu event handlers