[HELP] Common UI issue with parent class

I am having the same issue. I can create another widget and then it seems the new one will lose the class but the older one that did not have a class after restart will be recognized as the correct class.