rewritted my code to do the UI Updates during the race same style the endRace UI updates.