Remove ! from window access in AppDelegate