Make sure the localStorage works across pages