We cant find out how to make the number not add to the list?

When we type in a number for a flavor. It's supposed to tell the user no numbers and not add the number to the list. But in our case it tells us not to add numbers, but adds them in the list anyway. We need to find out what part of our code is responsible for not putting in numbers into the list.

Please tell us what's wrong.

Here is the bad code we need to fix:

Use the blue mutator button to turn that first if/then block into an if/then/elseif block

if is in list ... then
   complain about already in list
elseif is a number then
  complain about being a number
  add to list
end if/then/elseif