Wireless Doggy Doorbell Mat

Your link show and is coded for TWO switches. Push one to turn on and push the second switch to turn off. But your code shows only ONE switch. So you are NOT using the code for the link. How did you change the code so only one switch is used? Did you prove the original code worked with two switches before changing?