Removing the localStorage clearing on loading