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