added triggering of waveforms in preferences