Refactor add category bricks

Creating the bricks in the AddBrickFragment has been moved to its own factory.