Quick fix for the changes of one todoitem has only one category