To change your user name, first tap your profile at the bottom left corner of the main menu.
Then tap the pencil icon next to your name in the top section of the screen.
Fill in the name you want, then tap "Done".
Changing your name costs 300 Diamonds. You will be prompted to confirm your name change after you have entered it.