Be aware that Every X seconds is always running as it's based on the System Time. So when you restart a layout, that timer does not reset, so if the every 5 was do to come up next, then that's what would happen. Make sense?
It's better to either 1. User the built in timer behavior or 2, create your own timer variable and add dt to it every tick. Then set it to 0 when you want it to reset.