Added passing class and for params for label

Label for widgets was not passed all required parameters