The popularity will be resetted, yes.
The process is not really automatical (meaning the system will do all the steps). When a country meets the criteria to change the national coach, it can't be done without asking the next candidate if he/she is still interested in the job, so it can take a few days till all the process ends.