I need help with dynamic cards

Hello all!
I need some help with my app. I want to create and show dynamic cards from airtable. I have 2 button to show different cards from airtable.

The problem is when I clicked any button it create & shows cards but clicking again on the button it create cards again. I just wants to create once.
Thanks.

Here is my block,

Here is my aia,
test.aia (26.0 KB)

Still-learning,
What you gave the solution that didn’t work. It okay that it don’t create new cards but It also don’t create the cards from the airtable that I want. After adding label to that cards you’ll understand.

Create a variable.
Put an if block to only allow creating the card the first time, checking the value of this variable.
If True create CardView if not , do not create

Note : I can’t look at your blocks, I’m in a tennis court.
Note2 : Also , I usually do not open AIA file

Was my suggestion won’t satisfied in your earlier post?

Ok, if you are not satisfied you can stay with the same place until you get best solution rather than you should not create duplicate post. It will leads suspension of your account for not obeying community guidelines…

Suspended for double posting