Flip flop on custom event

make sure it’s really called once and in order for each of those cases (with prints or breakpoints) and don’t use it inside functions as it can’t remember it’s state in there