fixed a bug in the clickHandler to make sure the configuration gets used);