Fix bug cell toolbars not redrawing on metadata change

Fix bug where cell toolbars are not redrawn when cell metadata is changed.

Extracted from https://github.com/ipython/ipython/pull/6638 which will be changed into an extension.
I think I'd rather it not rebuild the toolbar below, instead rebuilding it as a result of the metadata being set.