Linked up radio buttons to events.