button text changing correctly