Prime Minister Kostas Karamanlis , whose popularity has slumped since the recent disclosure that the cellphones of top government officials were bugged by unknown people for nearly a year , reshuffled his government , replacing his top security adviser and his defense minister , and appointing the popular mayor of Athens during the 2004 Olympics , Dora Bakoyannis , above , as foreign minister .