hide the button after clicking