Change the state of the UI. Currently, only
"error" states are supported. For example, in order to show a loader in the flow manager UI, just call
state("loader", true). If you want to display an error in the flow manager UI, call
state("error", "Something went wrong.").