when user wants to delete a category which has some tasks under it, set those tasks' category to default in deleteCategory