Refactoring: DRY initial category rendering.