Moving UI creation  method to PopupView.xaml