Replaced the name of the clicked attribute, now it is button_pressed