Why LiveView resets all the document created element (DOM)

Sure, your help clears my way, I just explain about the project and each element I have and why I did like this.

Before it, I am sorry because my English skill