the color box shows the colors of the different states. for each state, if it has a value greater than zero then it displays a number showing the value of that state. you click on the colors to select a state. you can use the prev_color_key and the next_color_key to select a color. the red outline shows the select state.

you can change the colors and values of the states. go to edit->edit state or press ctrl-E.

in the edit state window, you can enter a new value and select a new color.
Click on the update button after changing the color or value
you can also add new states. go to edit->edit state or press ctrl-T.