This is probably the same issue described here. Basically, the on_change argument expects a function object, you are just passing None to it.
This is probably the same issue described here. Basically, the on_change argument expects a function object, you are just passing None to it.