Adds listeners to radio buttons