The subview can be added to the window, but the photobutton does not work yet