Re-enable buttons when HTTP requests fail.

Resolves #219.