Using the response from one routine and using it in later routines

Hi all,

I am looking for help in the experiment. It is a Modified Delay of Gratification task, and I am trying to do it for the choice of preferred snacks. Essentially, I want to ask the participant to choose amongst 8 types of snacks, and then in the transfer phase, I want that selected response to manipulate my conditions on the left and right choices. I want it added in the statements where the choices are being offered. How can I go about it? Help would be appreciated.