Event handling in menu