The code is now first tried to load from the sessioStorage and then from the localStorage to allow having multiple tabs in some browsers