replaced UIActionSheet with a custom modal view which handles rotation