Add on_change_callback to config variables. These callback can be defined in the ConfigVariable object and is called, when the variable is changed.