disable gallery preview on wifi mode