Changed UIWindow to UIView