Vortex Polarity Switching in Magnets with Surface Anisotropy