To rename a category, select a category with a double click. Enter the new name an click on "Save".
The category is renamed and sorted alphabetically in the list of categories.