private void closeAllChats() {
   for (AbstractChat chat : MessageManager.getInstance().getActiveChats()) {
     MessageManager.getInstance().closeChat(chat.getAccount(), chat.getUser());
     NotificationManager.getInstance()
         .removeMessageNotification(chat.getAccount(), chat.getUser());
   }
   getContactListFragment().getAdapter().onChange();
 }
 @Override
 public View getView(int position, View convertView, ViewGroup parent) {
   final AbstractChat abstractChat = (AbstractChat) getItem(position);
   final AbstractContact abstractContact =
       RosterManager.getInstance()
           .getBestContact(abstractChat.getAccount(), abstractChat.getUser());
   return contactItemInflater.setUpContactView(convertView, parent, abstractContact);
 }