Click the flag, then click it again as soon as you here music to correct the timings.
Credits to my big sister, Momoko, for some ideas I know I took this VERY literally XD