} else if (e.getSource() == sortItem)
BuddyList.getInstance().getBuddyListTree().setSortByStatus(
sortItem.getState());
else if (e.getSource() == prefsItem) {
if (!DialogTracker.containsDialog(PreferencesDialog.class))
new PreferencesDialog().setVisible(true);
} else if (e.getSource() == priority)
new PriorityDialog().setVisible(true);
else if (e.getSource() == deleteAccount)
deleteAccountHandler();
else if (e.getSource() == changePassword) {