added actionlisteners to the radio buttons