added button queries for menu