Click on a flag to display data