fix issue: tasks cannot be sorted after loading different tasks by user