Refactored code for better readability.
Refactored button names and added listeners to remaining buttons.