implemented gui functionality for metronome/click