Restore orientation change handler.