MobX Provider: Provided store 'mainStore' has changed

I have a React Native project using front-generator, where I implemented the change theme using the example from the demo app of ‘ui-kitten’. The problem is that every time I change the theme i have the following warning: ’ MobX Provider: Provided store ‘mainStore’ has changed. Please avoid replacing stores as the change might not propagate to all children '.
I tried to put the theme provider downwards in component tree, under the cuba app provider but…nothing.
Any idea is welcome because I’m a little stuck in it.

The platform version is 7.2.4,
mobx version is 4,
mobx-react is 5

I managed to solve this by covering the navigator in the theme provider and so I removed it from the app.tsx.