If the textField is nil, do not add the thing to the tasks.