change button logic