Adding to the queue when clicking next