added the ColoredItemChooser class and a test class