send the code per button