Thanks @Mark and @paulmw, my issue is fixed, but two more are left.
This one on getting a list from localstorage : Saving & Getting an information after the app was closed
And another one is about the next screenshot, these blocks are supposed to replace the item at the #position but it just doesn’t change it, it adds a new one
Also, the edit variable only is set to 2 the first time the list is clicked, after that it never works.
Thanks for helping