@Override
 public void onActivityCreated(Bundle savedInstanceState) {
   super.onActivityCreated(savedInstanceState);
   setRetainInstance(true);
   setHasOptionsMenu(true);
   questionController.getAllQuestions(allQuestionsCallback);
 }
 @Override
 public void onResume() {
   super.onResume();
   getSherlockActivity()
       .getSupportActionBar()
       .setTitle(getResources().getString(R.string.show_all_questions_label));
   busController.getBus().register(this);
 }
 @Override
 public void onFailure(Throwable throwable) {
   super.onFailure(throwable);
   displayError(
       getResources().getString(R.string.error_msg_title),
       throwable.getMessage(),
       new DialogInterface.OnClickListener() {
         @Override
         public void onClick(DialogInterface dialogInterface, int i) {
           dialogInterface.dismiss();
         }
       });
 }
 @Override
 public void onPause() {
   super.onPause();
   busController.getBus().unregister(this);
 }