set up button with click event and generated random number