additions to #589: the UI listeners need adjustments too

I forgt that the listener functions also need some adjustments.

Note: maybe we want to merge contactProfile and mucProfile? It's not really good to have the same code twice.
Merge pull request #592 from TitanNano/chat-settings

additions to #589: the UI listeners need adjustments too