fixed cast issue for setting text on button in update view