Toggle button text based on state