Completed button set up and pen toggling implementation for the menu.