How to make touch switch to on off