recording done status in localStorage