If there is a custom defined callback,I think It's better to call it wit...

...h the xui object instance.