@Override
  public void onClick(View v) {
    // Pull values out of view and save
    String url, email, password;
    TextView tv = (TextView) findViewById(R.id.sServerUrl);
    url = tv.getText().toString();
    tv = (TextView) findViewById(R.id.sEmail);
    email = tv.getText().toString();
    tv = (TextView) findViewById(R.id.sPass);
    password = tv.getText().toString();

    auth.setConfig(url, email, password);

    if (mapp.isAppConfigured() && mapp.checkLogin()) {
      Toast.makeText(SetupServerActivity.this, "Logged in OK!", Toast.LENGTH_SHORT).show();
      mapp.startUpdates();
      SetupServerActivity.this.finish();
    } else
      Toast.makeText(
              SetupServerActivity.this, "Login error, please correct data", Toast.LENGTH_LONG)
          .show();
  }