add keyup and click event to tempo