Flip flop on custom event

Yes, it works fine. What’s the issue?