This method adds a reaction to the box that is called each time the specified
attribute changes. The attribute and action parameters cannot be null.
var rb = scene.rootBox;
if (rb)
{
rb.addAttributeEventHandler("accTheme", "OnAccThemeStateChanged();");
}