Exporting Schedules to Excel with Dynamo

Hi to you all,i created a dynamo dyn that contain ui shape nodes.i wanted to creat a methode to sort any type of catogory and then choose any parameter of course all of that with an interface of ui shape nodes.and then after that exported in excel.the problem that i face are when i run the the dyn .i see the interface and i can choose the categories after that i can t choose any parameter and the interface would not close. I ll drop the dyn with some pictures and the result desired dynamo script.dyn (77.4 KB)