change action of widgetplaybutton to togglepause