added onConfigChange listener