ShareDialog crashes and completion handler

1. Fixes transition sharedialog crash ( #139 )
2. Fixes authorization loop, when you tap to cancel on authorization screen, then it closes and again opens.

Thank to KoNEW ( #134 ) with his completion handler patch.