After the widget is initialised the caller will probably want to clear the undo stack, so that the first state is the initial value provided. Bonus: Add documentation for the widget. Change-Id: Ia331acc4177e32784061cae55c450eb0f83fd744