Each radio button must contain the same value of the name attribute, if you want to group switches together. This will make each switch turn off the other one(s):