wait for a few seconds after clicking the button