Fixes crash when trying to show action sheet before it's view's window is set.
Updates the sample project
Merge branch 'master' of https://github.com/dzenbot/iOSBlocks