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