[DF-1152] implement undo for setSwitchIndexCommand