How to use button switch to start a program?