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

    mEditClientId = (EditText) findViewById(R.id.clientId);
    mEditRedirectUri = (EditText) findViewById(R.id.redirectUri);

    mEditClientId.setText(Manager.Instance.getClientId());
    mEditRedirectUri.setText(Manager.Instance.getRedirectUri());

    mChkIsUnified = (CheckBox) findViewById(R.id.isUnified);

    mChkIsUnified.setChecked(HttpHelper.isUnified());
  }
  public void onSave(View view) {
    HttpHelper.setUnified(mChkIsUnified.isChecked());

    Manager.Instance.saveRegistration(
        mEditClientId.getText().toString(), mEditRedirectUri.getText().toString());

    final Intent intent = new Intent(getApplicationContext(), ConnectActivity.class);
    startActivity(intent);
  }