button caption updating fixed