Q1 and Q2 are connected in a bistable multivibrator circuit. This is also called a flip-flop. Each time the button is pressed it puts the flip-flop into one of two stable states. In this case it is used to provide power to the effect circuit. It is like a latching relay. It doesn’t have to have a reset, it can use one input, so “push on, push off”.