fun onSaveInstanceState(outState: Bundle): Unit
Event handler for saving the state when the user navigates away or rotates the screen
outState - bundle the bundle in which to package any relevant information
outState