Fix #86, #87: broken refresh buttons.

Clicking the refresh icon would yield the wrong element ID. This moves
the refresh icon from a separate element to the button container, so the
icon is the button as opposed to being contained within it.
Fix updating all widgets twice.

The single click handler intercepts all the refresh buttons, including
the main button.
Merge pull request #92 from commonquail/refresh-button

Fix broken refresh buttons