overwritten equals operator in TodoCategory