exit apps
An activity is exited with
finish();
Is the last activity exited, so the app is as well exited.
Often, there stay rests somewhere in the memory, because you haven't programmed entirely neat.
From there, it is recommendable to remove
System.exit(0);
That shouldn't keep you from rectify possible memory lickers!