I’m struggling with an issue at the tree view. I need to save at the localstorage a copy of the data array with the updated items. This means that if there Is checked or intermediate items at the tree, I need the array that I inserted in the data attribute at the beggining updated with these values.