@Override
            public void run() {
              if (!pin.equals(account.getPin())) {
                return;
              }
              account.setPin(getString(R.string.empty_pin));
              userAdapter.notifyDataSetChanged();
            }
Listener for the Button that generates the next OTP value.
java/com/google/android/apps/authenticator/AuthenticatorActivity.java