adds config selection listener