Fixed play pause functionality