Finish Saving State When Entering the Background