Added ActionListener to both buttons