added keep and discard events to recorder widget