As @RemyLebeau said, the creation of a new instance of DataModule1 is suspicious. Even if it worked fine on the other page, i don't really know why but on the other it was causing the bug this post's about. I just removed the line from the function and now everything works fine, thanks everyone !