Added radio-button functionality