             
             // reset cached keyboard height
             cachedKeyboardHeight = 0;
+            
+            isFirstActivate = true;
         }
         
         var smStage:Stage = systemManager.stage;

        
        var duration:Number = getStyle("softKeyboardEffectDuration");
        
        if (duration > 0)
            effect = createSoftKeyboardEffect(yTo, heightTo);
        
        // Stop looking for explicitHeight changes. The Resize effect or

                smStage.addEventListener("orientationChange", stage_orientationHandler);
            }

            // Disable the effect and instead snap the pop-up position when 
            // the keyboard size changes after the first activation. This 
            // allows the StageText instance to stay active instead of being
            // hidden by a bitmap proxy. This solves an issue on Android
            // where a keyboard size change causes a pop-up resize, then the
            // resize effect and subsequent bitmap proxy cause the keyboard
            // size to revert, effectively killing auto correction.
            // See SDK-31834.
            prepareEffect(yToLocal, heightToLocal, !isFirstActivate);
        }
    }
    
