Menu button handling implemented