async function addCommandChangesToPersistence(oCommand) {
		let oAppComponent;
		const aSubCommands = this.getSubCommands(oCommand);
		const aManifestPromises = [];
		let aChanges = aSubCommands.map((oSubCommand) => {
			// Filter out runtime only changes
			if (oSubCommand.getRuntimeOnly()) {
				return undefined;
			}
			// Manifest changes are stored separately
			if (oSubCommand instanceof ManifestCommand) {
				aManifestPromises.push(oSubCommand.createAndStoreChange());
				return undefined;
			}
			if (oSubCommand instanceof FlexCommand) {
				oAppComponent = oSubCommand.getAppComponent();
				if (oAppComponent) {
					return oSubCommand.getPreparedChange();
				}
			}
			return undefined;
		}).filter(Boolean);
		await Promise.all(aManifestPromises);
		// Filter out persisted changes
		if (this._aPersistedChanges) {
			aChanges = aChanges.filter((oChange) => this._aPersistedChanges.indexOf(oChange.getId()) === -1);
		}
		if (oAppComponent) {
			PersistenceWriteAPI.add({
				flexObjects: aChanges,
				selector: oAppComponent
			});
		}
	}
Allows to push a command on the stack that has already been executed and shouldn't be executed next

@param {sap.ui.rta.command.FlexCommand} oCommand command to push to the stack
@public