Fixed selected templateGroup on style Edit
Fixed table alias to template_group