Click space as many times as possible when you click the flag!
I added where you don't have to click the green flag 3 times to make the finish line to go to the front.