added 'checked' property to radio buttons