detect change on click play button