I need an undo button and i don't know how to do it

I'm making a shopping list app for my mom and i want to put a button of undo in case she deletes accidentally an item of the shopping list. Can somebody help me ? And for my app i followed the exact same steps as this tutorial https://youtu.be/kBt2fzEba1c?si=1RM8WVmKnu1CRuhv

You should set Clear Items to only clear the global list items, do not clear the tinydb tag, then you can recover the last saved state of the list from tinydb

how i do that in the blocks help 0.o

(Canned Reply: ABG- Export & Upload .aia)
Export your .aia file and upload it here.