Optimization in KDE-PIM
Deselect before select, so that we clear the message list before filling it again.
This makes it much faster to switch folders in kmail, the messagelist
can clear up immediately rather than inserting (while showing greyed out
items to the user) before deleting the old ones.