Buttons instead of anchors

The "Show states" and "Reload diff" links are now buttons.