implemented delegate method actionSheet:didDismissWithButtonIndex ref #4