How about having a isInComposer function or getter instead of 'shouldChangePanelNextEvent' property? It seems we can only check if view is stay in composer view. Is is necessary to set the shouldChangePanelNextEvent every time?