Commit before altering text