You can change your nickname in the game simply by going into settings :
Then press the edit button to the right of your current nickname. This is also where you can change your Flag:
This will be free the first time you change it. Next time there will be a cost associated with the change.