Add events and delete the button.