Changed UIWindow into UIView

Changed UIWindow into UIView to avoid to deal with multiple UIWindows