Added "value ID" to the state conditions in BasicGUI.