Replace deprecated CategoryViewer::addSubcategory()

Change-Id: I71520c9814195a74ceea61599f9b3e2708ed6e62