add ability to play and pause from the ui