buttons type changed