title: Firebase 'setValue' Function Repeats And Does Not Stop Swift
body: <p>I Am Sending Integers To My Database, And Should Be Called <strong>Once</strong>, But Is Being Updated 100's Of Times. The Database Gets Filled Up Quickly, As If There Is An Infinite Loop. </p>
  
  <p>How Can I Call The <code>setValue</code> Function To Upload An Integer Without It Repeating In A Loop? Is There A Different Way To Do It?</p>
  
  <pre><code>let newNumber = self.OldPoints + 20;
  print("\(String(newNumber))")
  self.databaseRefer.child("Users").child(Name).child("PointsAndConesInfo").child("CurrentPoints").childByAutoId().setValue(newNumber)
  </code></pre>