Updated code

Added arrays for color and textColor to retrieve index from combo box
listener