Implemented menu button state and event