changed the way play/pause/resume works