Place a Bypass Capacitor:
The operational amplifier needs a stabilized voltage to produce the right output signal. To reduce the noise produced when switching the power supply, place a bypass capacitor close to the supply pin of the operational amplifier. This will also reduce the possibility of harmonic distortions.