change button code