see if the button is clicked