make sure that close the UIActionSheet

If UIActionSheet is not closed, other tests don't proceed.
Looks like the tests using tap cannot properly if UIActionSheet appears.

So, this patch make sure that close the UIActionSheet.