According to Firebase docs:
ChildAdded is triggered once for each existing child and then again every time a new child is added to the specified path
A few ways to do this:
ref.queryLimitedToLast(1)when you start. See Firebase, only get new children.
.queryStartingAt(now)for items with timestamp >= now. See how to discard initial data in a Firebase DB