Store tasks in local storage