Refactor queueTrack() method to genericize for updating the queue as well as a playlist.