Added the ability to disable the share button on the gallery