If you want to change your current name, all you have to do is tap your name on the top left corner.
This is going to open a pop-up where you'll be able to type a new username and confirm it! :)

Keep in mind that your username must contain from 3 to 12 characters and they must never have any kind of abusive content, otherwise, your account might be banned from the game.