Add loading state to task refresh button

This commit makes the refresh task button more responsive. When a user
clicks refresh, it will become disabled and show a Loading... state.
Once the HTTP call has finished it will revert back to it's refresh
button state.