isRealPrimary renamed to startLearnMode