Initialize the widget definitions when the LoadWidgets function is called