Fixed the handleRadios function