changeGallery - modified public method