Handle rotations in the action sheet.