add click event for number and variable button