Updated GalleryApp changes, fixed error