Remove redundant button code for menu