Make changes persistent on infinite refreshes