adding play button and its functionality