Change label based on button state?

I have a button set up like so

switches between details & thumbs view, the icon changes but the label does not. Is there a way to change the label ?

Not currently.