Handle onSaveInstanceState. TODO doesn't seem to be sorted atm