Use Robotium's waitForCondition and simplify WaitHelper.