It happens due to reset of app with default appium settings on driver start.
Use logic below to make start as you wish