Add listeners to every button and menu item