Actually, you can change it using this class I found online a long time ago. I use it in my projects.
You call this like so:
For "Open" in this example, you would check to see if the end user clicked on "Yes", for "Pending", the button would be "No" and for "Cancel" the button would be "Cancel".