Prepare the layout for rotation.
Correct string value for error message.