Add pause functionality in toolbar