update selected city when leaving one from /cities page