title: Android - Firebase - Save new Data without overwriting old Data
body: <p><strong>This Question was created as my previous question contained 2 question instead of narrowing it down to 1</strong></p>
  
  <p><strong>Aim</strong></p>
  
  <p>Users will be able to store new data without overwriting their previously submitted data</p>
  
  <p><strong>Description</strong></p>
  
  <p>Currently, the User's Incident Report data within the Incident Report node will be overwritten when the User enters a new Report.</p>
  
  <p>The Data from the old Incident Report sent by the user should be kept along with the new data. </p>
  
  <p>This way the authorities will be able to view the previous reports and also the new report data.</p>
  
  <p><strong>Problem</strong></p>
  
  <p>Everytime a the currently signed in user saves a "Report", the <strong>New</strong> report data will overwrite the <strong>Old</strong> report data</p>
  
  <p><strong>Codes for Saving Data</strong></p>
  
  <pre><code>private void submitReport(final String userReportDate,final String userReportTime,
                                final String userReportLocation,final String userReportDescription) {
  
          jReportCurrentUserID = FirebaseAuth.getInstance().getCurrentUser();
          final String reportUserID = jReportCurrentUserID.getUid();
          jReportByUserDatabase = FirebaseDatabase.getInstance().getReference().child("Incident Reports").child(reportUserID);
  
          HashMap&lt;String, String&gt; incidentReportUser = new HashMap&lt;&gt;();
          incidentReportUser.put("date", userReportDate);
          incidentReportUser.put("time", userReportTime);
          incidentReportUser.put("location", userReportLocation);
          incidentReportUser.put("description", userReportDescription);
  
          jReportByUserDatabase.setValue(incidentReportUser).addOnCompleteListener(new OnCompleteListener&lt;Void&gt;() {
              @Override
              public void onComplete(@NonNull Task&lt;Void&gt; task) {
                  if(task.isSuccessful()){
                      jReportLoad.dismiss();
                      Toast.makeText(getActivity(), "Report was Sent", Toast.LENGTH_SHORT).show();
                      jReportDatePick.setText("");
                      jReportTimeEnt.setText("");
                      jReportLocationEnt.setText("");
                      jReportDescriptionEnt.setText("");
                  }else{
                      jReportLoad.dismiss();
                      Toast.makeText(getActivity(), "Report failed to be sent", Toast.LENGTH_SHORT).show();
                  }
              }
          });
      }
  </code></pre>