Fixed crash when change orientation.

Fragment recreate when change the orientation and only default
constructor been called.