State is now saved and restored when changing to landscape.