The problem was that in line 114, rollbackAccountCreation() is called so that the previously selected profile is selected again. Then, afterwards, in onPause() the display name (and avatar, if it was changed) of this profile is changed.
I tested both #3433 and #3063 are fixed after this PR.
fix https://github.com/deltachat/deltachat-android/issues/3433
The problem was that in line 114, rollbackAccountCreation() is called so that the previously selected profile is selected again. Then, afterwards, in onPause() the display name (and avatar, if it was changed) of this profile is changed.
I tested both #3433 and #3063 are fixed after this PR.