List item error, attempt to get item 0, minimum 1

Hi, I'm having trouble being able to pick an item using list picker. I'm trying to use a Tinydb to store the amount of items that I have and use that as a list which has worked a few times, but once it works on one item it won't work with another. I've gone through other forums and cannot seem to find something that would solve the problem as their code is different from mine.

I believe where I circled is where the problem likely occurs.

What is your list picker's purpose?

the list picker is supposed to call to a procedure, that would act afterwards. the procedures are right above the list picker. But most of them right now just take the amount of the item and subtract it by one.

What are the rules of this game?

How is it scored?

How does a player make a move in this game?