Latest change! Please move this to line 235 (after removing the state of the previous selected network. Add `newWifiIcon.classList.add('connecting');` as well for getting the icon in 'connecting' status as well.