Fixed buggy TaskList and crash when choosing a category.