Added resume, pause, stop and menubutton events.