attempt to fix view hierarchy inconsistency exception
fix for view hierarchy
fix
fix
Merge pull request #22 from LucasVidal/master

UIViewControllerHierarchyInconsistency solved by defensive check