Added onchange event for configuration