Use flags so that the MainActivity doesn't have a backstack record