Well when the layout is restarted, the trigger once is ofcourse triggered, for it's the first time the condition is true..
If you don't want that to happen, just like always, you should add other conditions..
I guess I would change the whole setup and add the flashing action to the event that changes the variable in the first place..