(bug 45639) Messages from wrong message group displayed

While switching the modes and groups, message table need to be cleared properly.

Change-Id: Iabba3e8187caf0f8215452dede042fa2c5204636
Merge "(bug 45639) Messages from wrong message group displayed"