state listener and radio mode change