Mahaloof, it's a classic timer switch/button trick, that is well-used, and loved.
When you step on a timer switch, if you step on a round button of the same color, until after the timer shuts off, when you step off the button, the corresponding gate will re-open, and stay open. BUt, if you re-step on the button, the gate will close.
