Handlers for control button events.