added UIActionSheet support for button and directLink support