added click events for selecting a country