Keeping time wont change grey to red flag!

I believe there is a bug I cleared the stage and the Grey flag is suppose to change the red flag. I dont understand whats going on. I have code if you needs.

please let me know thanks

Did you have the level open in more than one window?
Sometimes stuff can get lost in the internet, try submitting the level again.
(weird things do happen)