Move onRestoreInstanceState to onCreate

As onRestoreInstance was called after onCreateDialog in the dialog,
which needs the activity state.

Yet another fragment issue :-(