Fix crasher - always call notifyTasksChanged after updating the task list