Press the red stop. This happens because when the green flag is clicked it forever restarts the timer. So when the red stop is pressed that stops so when the timer reaches 0.01 it does what the code tells it to do.
I found this myself. If you liked it please love and favourite. If you like my other projects you can follow me.