@Goyo I wrote that code because when changing pages all the content of the page was getting lost.
But even after removing that code I don’t see that problem now.