i used query parameters but it didn’t fit to me. Are there any possible ways?
Yes. See the description of withAfterNavigationHandler() method in Opening Views.
withAfterNavigationHandler()