Here is how:
In the formula composition screen, there will be an "Edit" button in right upper corner
for formulas that you can edit composition of.
Touch the edit button and the screen will change to one below
Touch inside any field and using the keyboard which pops-up
make desired change to the composition.
Then touch the "Done" button and changes will be saved.