Updated MsgBar to the new widget structure