Setting OnClickListener to listen to actions of buttons, and modifying text on the User Interface.