Intent getAuthorizationCode = new Intent(MainActivity.this,GetAuthorizationCodeActivity.class);
startActivityForResult(getAuthorizationCode, 827);
break;
case R.id.navigation_header_out:
SharedPreferences.Editor editor = MyApplication.getSharedPreferences().edit();
<BUG>editor.remove("accessToken");
navigationHeaderImage.setImageResource(R.mipmap.ic_launcher);</BUG>
navigationHeaderOut.setVisibility(View.GONE);
navigationHeaderName.setVisibility(View.GONE);
navigationHeaderIn.setVisibility(View.VISIBLE);

Intent getAuthorizationCode = new Intent(MainActivity.this,GetAuthorizationCodeActivity.class);
startActivityForResult(getAuthorizationCode, 827);
break;
case R.id.navigation_header_out:
SharedPreferences.Editor editor = MyApplication.getSharedPreferences().edit();
editor.remove("accessToken");
editor.apply();
navigationHeaderImage.setImageResource(R.mipmap.ic_launcher);
navigationHeaderOut.setVisibility(View.GONE);
navigationHeaderName.setVisibility(View.GONE);
navigationHeaderIn.setVisibility(View.VISIBLE);
