I added check here so that the button is only shown if the queue is active.