So, I\'m trying to add a grid on every click to real-time database. However, when a new value is added, although its key is different, still database replaces the old index with