clear label |Tn-Tn+1| when reset Tn or Tn+1
add WAVEFORM_Y_MARGIN
rename define
update ui