Override onSaveInstanceState

1. override onSaveInstanceState(Bundle outBundle) method to
   save the data in the activity
2. instead of using static mark, override this method is better