Create a dedicated object:state-changed callback for "focused" events