When I create Paragraph and Character styles, either from a script or a C++ plugin, the new styles only appear in the styles panels after I create a new style manually. With a script it sometimes works to add a "redraw();" at the end of the script. I want to add my styles during creation of a pluginGroup from C++. How can I get it to refresh the styles panels?