Basic Programming Question

Do you want push on push off?

If so search for 'toggle' on/off.

See:
https://www.arduino.cc/en/tutorial/switch