/**
   * Edit existing report
   *
   * @author henryaddo
   */
  private void setSavedReport(int reportId) {

    // set text part of reports
    Report report = model.fetchPendingReportById(reportId);
    if (report != null) {
      view.mIncidentTitle.setText(report.getTitle());
      view.mIncidentDesc.setText(report.getDescription());
      view.mLongitude.setText(report.getLongitude());
      view.mLatitude.setText(report.getLatitude());
      view.mIncidentLocation.setText(report.getLocationName());

      // set date and time
      setDateAndTime(report.getReportDate());
    }

    // set Categories.
    mVectorCategories.clear();
    for (ReportCategory reportCategory : model.fetchReportCategories(reportId)) {
      mVectorCategories.add(String.valueOf(reportCategory.getCategoryId()));
    }

    setSelectedCategories(mVectorCategories);

    // set the photos
    pendingPhoto.refresh(id);

    // set news
    List<Media> newsMedia = model.fetchReportNews(reportId);
    if (newsMedia != null && newsMedia.size() > 0) {
      view.mNews.setText(newsMedia.get(0).getLink());
    }

    mIsReportEditable = mOgsDao.getReportState(id) != IOpenGeoSmsSchema.STATE_SENT;

    if (!mIsReportEditable) {
      View views[] =
          new View[] {
            view.mBtnAddCategory,
            view.mIncidentDesc,
            view.mIncidentLocation,
            view.mIncidentTitle,
            view.mLatitude,
            view.mLongitude,
            view.mPickDate,
            view.mPickTime
          };
      for (View v : views) {
        v.setEnabled(false);
      }
      updateMarker(
          Double.parseDouble(report.getLatitude()),
          Double.parseDouble(report.getLongitude()),
          true);
    }
  }