no need to load accounts cursor if we are not editing a transfer
only do commits for splittransaction if they have a flag inEditState set, this allows to save the parent without touching the children
set flaf before saving to prevent race condition
we only need to set up the accounts array once, the callback gets called also after saving a transaction