I try to pass the selected variable to a function which then creates a list of options for the second ddm. However the second ddm always displays the options of .set(). I th