added click events, set value in inputbox, only send an event every 3000md