Put generated random into if block
modify UI