Added a new method called setButtonLable to DropdownButton class and call it from here.