Implement menu handler