Custom TV - best way to set default state for custom variable in ext.js

I have seen the function Ext.ComponentMgr.onAvailable used in similar situations:

Maybe this works here as well. I’m not sure. You have to try it.