Now the contents are also getting loaded from localstorage