There is a bug if you create cb using the empty constructor, the Rpc is not

There is a bug if you create cb using the empty constructor, the Rpc is not registered. Also, the value change listener does not fire when the state changes to indeterminate.