Use localStorage to preserve work