sync the tab data using localStorage