When I press a button, I want to overwrite the text first and then the button should be overwritten again after a few seconds. But if I insert a delay then only the second t