Prevent long press in changing state on D Flip-Flop
May I suggest you create a ring counter.
That would be the easiest way to do so.



Here is a link to the info: Electronics Tutorials - Ring Counters