LPS-34692 Manages count of root categories on addition and deletion
LPS-34693 Detects categories that couldn't be removed
LPS-34692 Fixes category count for edit actions
LPS-34809 Renames wrong selectedItems parameter name