Using UIImage as property instead of the name of the image for the appear view and window.