Do not re-layout if preference dialog is rotated