Added code trying to get rid of GalleryAppBox inheritance