Navigation menu is closed when ui interaction occurs outside it

maybe `return ((AppDelegate)UIApplication.SharedApplication.Delegate).window;` ?