Issues with Custom States and send parameters to different page

Hello,

I am trying to create my first Bubble app, but I am struggling to set up some requirements.

I want when a page is loaded it selects a random item from a data set, this data set consist of multiple fields. Bubble should remember this and when button Different or Next is clicked it should give another item from the data set but should exclude the one already used, so it should be unique.
I know I need to use custom states, but I can’t get it to work.

What I currently do:

When Page is loaded: Set State Current Question (State Type = Questions), Value = Search for questions & actions random item
I have also created a state: Used Questions

When button next is clicked:
Step 1: Set state Used Questions, Value = Element Used Questions (Custom State) plus item Element Used Questions (Custom State) last item
Step 2: Set State Current Question, Value = Do a search for Question (State Type), add constraint: unique ID Element Current Question (Custom State) unique ID is not in Element Used Question (Custom State)
Here it is expecting me to put an operator, but I have no idea which one to use.

That is problem 1. Problem 2 is that for another option I want to transfer Custom States to different pages. I know custom states are reset when a page is loaded or when going to another page, so I belive I should use the “Send more parameterstot he page” option

In page 1: This will show the title and description, I have created a parent group to add different text fields.
When Page is loaded: Element = Scenario Group, Custom State = Selected Scenario, Value = Search for scenario (data type)random item
Here I need to do the same as above, exlude the used scenario’s till user goes back to the menu screen or logs off.

When Button Go is clicked it should take me to another page, this page will show different data fields from the scenario selected in page 1 (it will show additional info and an image).

So I put:
Destination: Scenarion page 2
Data to send: Scenario Group Selected Scenario (Custom State) unique ID
Tick box: Send more parametersto the page: Key = mode = Scenario Group SelectedScenario Unique ID

Page 2:When page is loaded: Set State Scenario Group (Element) Selected Scenario (Custom State), Value = Get date from page URL, Type = Parameter, Parmater Name = Scenario Group Selected Scenario Unique ID (so same as data to send in page 1), but it mixes the data (page 1 is scenario 1 and then data on page 2 is from scenario 2)

Any help is greatly appreciated