How to Toggle on and Off

We already described the button-toggling and attached an example project at your other opened duplicate topic: