Check the locusOfFocus rather than STATE_FOCUSED in onValueChanged()