Can Android App Activity change during run?

Hi all,

I am automating tests for an application which app activity is the login page.
However, once the user got logged in, the next time application will start- the activity will be the feed (rather usual behavior).
Problem is- that when I want to stop and start the application, appium fails to find the app activity (login page)- which is the desired behavior…
Any idea if I can change the desired activity during appium server run? If you have a different idea of how to solve this- I’d appreciate.