@Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_cashevent_test);

    statusText = (TextView) findViewById(R.id.status);

    account = CloverAccount.getAccount(this);

    Button b = (Button) findViewById(R.id.button);
    b.setOnClickListener(
        new View.OnClickListener() {
          @Override
          public void onClick(View v) {
            statusText.setText("");
            doExample();
          }
        });
  }
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_customer_test);

    statusText = (TextView) findViewById(R.id.status);

    Account account = CloverAccount.getAccount(this);
    if (account != null) {
      customerConnector = new CustomerConnector(this, account, null);
      customerConnector.connect();
    }

    Button b = (Button) findViewById(R.id.button);
    b.setOnClickListener(
        new View.OnClickListener() {
          @Override
          public void onClick(View v) {
            statusText.setText("");
            doExample();
          }
        });
  }