disable gallery sharing if encryption app is enabled