wait for the button