Switch State Issues?

Pylon

What do you mean by program state? and where would that be added.

Sorry i'm still new to this.

Thanks all!