added delegate with simple callback on valueChanged

I've added a the delegate pattern to allow view controllers to be notified when a single button has changed its value.