How to make the app keeps done activities when rotating the device screen? For example I have an app that draws the shortest route between two locations, but when I rotate my device, the application removes all the done activities (removes the route) and returns to its starting screen