diff --git a/.gradle/8.8/executionHistory/executionHistory.bin b/.gradle/8.8/executionHistory/executionHistory.bin
index c1eb9f213a799e442471f095a468de591861e9d1..da379200dc085b771d4dcddfb52048b307521c21 100644
Binary files a/.gradle/8.8/executionHistory/executionHistory.bin and b/.gradle/8.8/executionHistory/executionHistory.bin differ
diff --git a/.gradle/8.8/executionHistory/executionHistory.lock b/.gradle/8.8/executionHistory/executionHistory.lock
index de0f0cc4818e9c5336c4cc682f606f302d6d676f..4abdef7a3725bed502b1e30b47a4a19cf7b419f4 100644
Binary files a/.gradle/8.8/executionHistory/executionHistory.lock and b/.gradle/8.8/executionHistory/executionHistory.lock differ
diff --git a/.gradle/8.8/fileHashes/fileHashes.bin b/.gradle/8.8/fileHashes/fileHashes.bin
index c926d15c3ce365067c0026e4fc14e8f992a0d118..e0921c29234010082a6d5eced33c9083ffa5fa09 100644
Binary files a/.gradle/8.8/fileHashes/fileHashes.bin and b/.gradle/8.8/fileHashes/fileHashes.bin differ
diff --git a/.gradle/8.8/fileHashes/fileHashes.lock b/.gradle/8.8/fileHashes/fileHashes.lock
index 288d52a5ffa5440b2cea8e98bc683c1dc0616d4d..73a5220e88947f0b23b2fc342a3a2e08c08baef8 100644
Binary files a/.gradle/8.8/fileHashes/fileHashes.lock and b/.gradle/8.8/fileHashes/fileHashes.lock differ
diff --git a/.gradle/8.8/fileHashes/resourceHashesCache.bin b/.gradle/8.8/fileHashes/resourceHashesCache.bin
index 2f5f484a3d77c9e1b6cad7cb8b2799431f0e8cc4..492243c6aee7902c2d5ea5e6a2a30df40a9b66cf 100644
Binary files a/.gradle/8.8/fileHashes/resourceHashesCache.bin and b/.gradle/8.8/fileHashes/resourceHashesCache.bin differ
diff --git a/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/.gradle/buildOutputCleanup/buildOutputCleanup.lock
index ec6366df6cc10781509372e9eed162705749cac1..05f878a40f5e8964385444c7be2a851d6e457c15 100644
Binary files a/.gradle/buildOutputCleanup/buildOutputCleanup.lock and b/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ
diff --git a/build/classes/java/main/model/Cell.class b/build/classes/java/main/model/Cell.class
index ff54bf87cd3b03b63c7ea9b8a8248506a3c69a92..899f401efb152021d0779e24557cf36db3853dd0 100644
Binary files a/build/classes/java/main/model/Cell.class and b/build/classes/java/main/model/Cell.class differ
diff --git a/build/tmp/compileJava/compileTransaction/stash-dir/Cell.class.uniqueId0 b/build/tmp/compileJava/compileTransaction/stash-dir/Cell.class.uniqueId0
new file mode 100644
index 0000000000000000000000000000000000000000..ff54bf87cd3b03b63c7ea9b8a8248506a3c69a92
Binary files /dev/null and b/build/tmp/compileJava/compileTransaction/stash-dir/Cell.class.uniqueId0 differ
diff --git a/build/tmp/compileJava/compileTransaction/stash-dir/CellularAutomatonSimulation.class.uniqueId3 b/build/tmp/compileJava/compileTransaction/stash-dir/CellularAutomatonSimulation.class.uniqueId2
similarity index 100%
rename from build/tmp/compileJava/compileTransaction/stash-dir/CellularAutomatonSimulation.class.uniqueId3
rename to build/tmp/compileJava/compileTransaction/stash-dir/CellularAutomatonSimulation.class.uniqueId2
diff --git a/build/tmp/compileJava/compileTransaction/stash-dir/ConstantCellInitializer.class.uniqueId6 b/build/tmp/compileJava/compileTransaction/stash-dir/ConstantCellInitializer.class.uniqueId4
similarity index 100%
rename from build/tmp/compileJava/compileTransaction/stash-dir/ConstantCellInitializer.class.uniqueId6
rename to build/tmp/compileJava/compileTransaction/stash-dir/ConstantCellInitializer.class.uniqueId4
diff --git a/build/tmp/compileJava/compileTransaction/stash-dir/ConstantMatrixInitializer.class.uniqueId5 b/build/tmp/compileJava/compileTransaction/stash-dir/ConstantMatrixInitializer.class.uniqueId5
deleted file mode 100644
index 51348c6e9e0dcdba09358bfd0f8cee84d7b4360a..0000000000000000000000000000000000000000
Binary files a/build/tmp/compileJava/compileTransaction/stash-dir/ConstantMatrixInitializer.class.uniqueId5 and /dev/null differ
diff --git a/build/tmp/compileJava/compileTransaction/stash-dir/ListMatrix.class.uniqueId7 b/build/tmp/compileJava/compileTransaction/stash-dir/ListMatrix.class.uniqueId7
deleted file mode 100644
index e60c87beca791a9a811355223e4f336d19ddeca7..0000000000000000000000000000000000000000
Binary files a/build/tmp/compileJava/compileTransaction/stash-dir/ListMatrix.class.uniqueId7 and /dev/null differ
diff --git a/build/tmp/compileJava/compileTransaction/stash-dir/Matrix.class.uniqueId0 b/build/tmp/compileJava/compileTransaction/stash-dir/Matrix.class.uniqueId0
deleted file mode 100644
index 19d764354d8b419924fd129c6f18920c18920517..0000000000000000000000000000000000000000
Binary files a/build/tmp/compileJava/compileTransaction/stash-dir/Matrix.class.uniqueId0 and /dev/null differ
diff --git a/build/tmp/compileJava/compileTransaction/stash-dir/MatrixInitializer.class.uniqueId2 b/build/tmp/compileJava/compileTransaction/stash-dir/MatrixInitializer.class.uniqueId2
deleted file mode 100644
index 9bc1c897ff3cddf97bb07832e4fde607b397cfa9..0000000000000000000000000000000000000000
Binary files a/build/tmp/compileJava/compileTransaction/stash-dir/MatrixInitializer.class.uniqueId2 and /dev/null differ
diff --git a/build/tmp/compileJava/compileTransaction/stash-dir/MatrixIterator.class.uniqueId4 b/build/tmp/compileJava/compileTransaction/stash-dir/MatrixIterator.class.uniqueId4
deleted file mode 100644
index 1c1d116d29e6152d3c9fd224885ac802b81ee476..0000000000000000000000000000000000000000
Binary files a/build/tmp/compileJava/compileTransaction/stash-dir/MatrixIterator.class.uniqueId4 and /dev/null differ
diff --git a/build/tmp/compileJava/compileTransaction/stash-dir/SimulatorApplication.class.uniqueId3 b/build/tmp/compileJava/compileTransaction/stash-dir/SimulatorApplication.class.uniqueId3
new file mode 100644
index 0000000000000000000000000000000000000000..d3e7e6501fdcde716363cd6017444d3fbf0f8365
Binary files /dev/null and b/build/tmp/compileJava/compileTransaction/stash-dir/SimulatorApplication.class.uniqueId3 differ
diff --git a/build/tmp/compileJava/previous-compilation-data.bin b/build/tmp/compileJava/previous-compilation-data.bin
index 0b70f22a32045d9505e87c2ad93febbc0f0fb193..35a39514d6fb286df34fb16f88c09c44f12e96f4 100644
Binary files a/build/tmp/compileJava/previous-compilation-data.bin and b/build/tmp/compileJava/previous-compilation-data.bin differ
diff --git a/src/main/java/model/Cell.java b/src/main/java/model/Cell.java
index d62b6057dee5f28ae640357679af0946617750e7..5b518b74e233eb9f2152ee27e8d4664029b56b72 100644
--- a/src/main/java/model/Cell.java
+++ b/src/main/java/model/Cell.java
@@ -40,9 +40,10 @@ public class Cell<T> implements Lens<T> {
      * @param value the new content of this {@link Cell}
      */
     public void set(T value) {
+        T oldValue=this.value;
         this.value=value;
         for (OnChangeListener<T> listener :listeners){
-            listener.valueChanged(value,value);
+            listener.valueChanged(oldValue,value);
         }
     }