edit button and main menu