Add sub widgets and edit Widget class