Add sleep to give the button time to appear