updated buttons functionality