Added state-dependant button labels

The infrastructure for these labels has been added, but the actual label
configuration is not complete.