Changed "state" to "label" for clarity

Changes key in UIConfig from "state" to "label" to avoid confusion.

Related to #373