cleaned up the onSaveInstanceState() method so it calls the super() first and also reads better.