If you rename category from the accordion listview and use any leading spaces it will work the first time. Trying to rename it will no longer work afterwards. Only manually editing category for every command contained within can change it.
Edit: Just wanted to add I'd rather not enforce a trimmed name, just a fix so leading spaces can still be renamed. If the sorting could be adjusted, using leading spaces makes a pretty good pseudo sub-category layout look.