Fix message refreshing issue (and remove the workaround). Use  to change message from a jquery context (not an angularjs context).