Changed iOS settings and fixed Gallery.