Added an optional callback delegate to PivotUI

When user change the params of the PivotUI table, a callback method is
called with the new params.

This was added in order to create a “save config” feature.