ui_act.c - Added support for sending event on pause/play.

Added support for sending event on pause/play.