Magnetic Schr\"odinger operators, Generalized Harper operators, Continuity of spectral gaps