UI-2418 | Reformat UICategories.gtmpl and fix bug when click Collapse/Expand Category