pub fn set_active(q_glyph: &Glyph) -> Result<(), Box<dyn Error>>
Sets the active state in state-graph and propagates it.