I'm not sure if I get your problem, but as soon as you name the intention and start a new activity, right after the call () ends; to complete the activity you are leaving. This will complete your last action and prevent multiple actions from starting at once.
Also, if you use screen rotation as a way to start actions, you can always control which one you do not want to run several times by setting some checks using the If and Else statements.
source share