save state of fragment in onSaveInstanceState() method