Working change in adv when button is pressed