making the button only appear when it's ready