set input value on click to have faster feedback