Update the code to generate the variation tracks menu