@Override
  public boolean onOptionsItemSelected(MenuItem item) {
    // Handle action bar item clicks here. The action bar will
    // automatically handle clicks on the Home/Up button, so long
    // as you specify a parent activity in AndroidManifest.xml.
    int id = item.getItemId();

    //noinspection SimplifiableIfStatement
    if (id == R.id.showQA) {
      Intent intent = new Intent(this, QAActivity.class);
      startActivity(intent);
      return true;
    }
    if (id == R.id.logout) {
      sqaApp.logout(this);
      return true;
    }
    if (id == R.id.help) {
      HelpDialogFragment fdf = HelpDialogFragment.newInstance(HelpDialogFragment.CONTENT_HIGHSCORE);
      fdf.show(getFragmentManager(), "help");
      return true;
    }
    if (id == R.id.about) {
      AboutDialogFragment adf = new AboutDialogFragment();
      adf.show(getFragmentManager(), "about");
      return true;
    }

    return super.onOptionsItemSelected(item);
  }
 @Override
 protected Integer doInBackground(Void... params) {
   return sqaApp.getQuizBackend().getUserScore();
 }