[ @Edi04 ]
---
I'm not quite sure since I don't have the script myself, but there's part that pique my attention. So the breakdown:
You're getting only one result on "t" variable -> clearing result -> saving "t" to lists -> saving the lists into "tb" variable -> clearing the lists -> and change the "t" value into 0 (The "t" here only contains 1 from getResults(1))
---
So the possible problem is:
1) You keep unnecessarily use addListItem() and getListItem() over and over, while you're already clearing the lists using clearList() (For example: line 59). Thus the "tb" lists only contain 1 from the result of "t" variable.
2) If you want to summon back all other codes, just use addListItem() again on where you're storing the lists as variable.
3) Is your wanted code exist on 't' variable? Because you're using the same name as variable. Naming them different will allow you to load the previous lists.