Minor changes to editCategory and categories