add save event to radio buttons