You seem to have missed the part of AI2 that mentions the ‘=’ test block in IF/THEN blocks.
http://www.appinventor.org/bookChapters/chapter18.pdf
from FAQ Section: Books, Tips, Tutorials for AI2