I solved this by creating a start-up function and adding it to the components events callbacks
% Code that executes after component creation
function startupFcn(app)
targetSelector = app.TargetSelector;
app.ConnectButton.TargetSource = targetSelector;
app.LoadButton.TargetSource = targetSelector;
app.SystemLog.TargetSource = targetSelector;
app.StatusBar.TargetSource = targetSelector;
end