Implementing the global play/pause button