@Override
 public void onContactListDrawerListener(int viewId) {
   drawerLayout.closeDrawers();
   switch (viewId) {
     case R.id.drawer_action_settings:
       startActivity(PreferenceEditor.createIntent(this));
       break;
     case R.id.drawer_action_about:
       startActivity(AboutViewer.createIntent(this));
       break;
     case R.id.drawer_action_exit:
       exit();
       break;
     case R.id.drawer_header_action_xmpp_accounts:
       startActivity(AccountList.createIntent(this));
       break;
   }
 }