addwidget command returns widget object instead of string, fix for bug
when starting simulation after simualtion was already started