private String getEnteredKey() {
    String enteredKey = keyEntryField.getText().toString();
    return enteredKey.replace('1', 'I').replace('0', 'O');
  }
Called when the activity is first created
java/com/google/android/apps/authenticator/otp/EnterKeyActivity.java