In some odd conditions the presenting view is nil, added code to protect from crashing
Merge pull request #10 from markohlebar/feature/probable_fix_for_a_crash_when_presenting_view_is_nil

In some odd conditions the presenting view is nil, added code to protect...