added the radio button functionality for the lights