Hello,
I'm creating a simple simulation app where I have a slider named 'orderSlider'. When I choose a value from the orderSlider and click the button 'Order', 6 variables get updated in the rectangles (shown in the pic below).

I want functionality where if I click the 'Order' button, the following changes also get triggered:
1. all 6 variables generated are stored in a list or somewhere
2. Week '1' (in red box) gets deactivated (grayed out)
So, once again, if I change the slider and click the 'Order' button, the 6 variables get changed again and the above list gets appended and week 2 gets grayed out, and so on.
Now, when I click the 'Order History' button, all the data stored in the list for all the weeks (entered till now) shows up in a pop-up/ new screen.
Regards,
Sam