Added control of entering empty todos.