mw.toolbar: Don't mask the error of button.onClick being invalid

Follows-up 7359b97354b49faa4c1.

Minor clean up:
* Add missing line break.
* Add missing description for addButtons().

Change-Id: Ie33b900f1d116044e1aa2d31a23a2128786b7a49