Home Assistant refreshes

Hi,

I have a problem, when i’m in Home Assistant on desktop, Home Assistant refreshes. I dont know how this is happening. When i am in the file editor and it refreshes, the whole code is gone when not saved. Maybe you guys know whats up?