Add button to enable/disable flipping.

Requires modifying the ButtonBarWidget to pass a handle to the individual
button to the callback function.