Retrieve tasks from local storage