@TargetApi(11)
  private static MenuItem openListViewContextualActionBarAndFindMenuItem(
      AuthenticatorActivity activity, ListView listView, int position, int menuItemId) {
    ActionMode actionMode =
        (ActionMode) openListViewContextualActionBar(activity, listView, position);
    return actionMode.getMenu().findItem(menuItemId);
  }
This function return the original pin code from the styled pin code, which may has a space in
the middle of the string

@param pin The styled pin code
@return The original pin code with no spaces
javatests/com/google/android/apps/authenticator/AuthenticatorActivityTest.java