Update formatted message richtext when colors need to be updated
The richtext contains colors from the current color scheme. Thus if the scheme changes, we have to update the richtext, otherwise it will keep using the old colors until the document is recreated.