/// <summary>
 /// Method that adds a new pangolin standard model if a new pangolin is added
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void AddPangolinViewModel_UpdateModelEvent(object sender, EventArgs e)
 {
     if (SelectedModel == _pangolinStandardModel)
     {
         Pangolins.Add(GetPangolinStandardModel(true));
     }
 }
        /// <summary>
        /// Initalized edit view with model
        /// </summary>
        /// <param name="modelToEdit"></param>
        public AddPangolinViewModel(Pangolin modelToEdit) : base(DatabaseManager.GetDatabase().Pangolins)
        {
            if (Pangolins.IndexOf(modelToEdit) == -1 && modelToEdit != null)
            {
                Pangolins.Add(modelToEdit);
            }
            if (modelToEdit != null)
            {
                SelectedModel = modelToEdit;
            }

            UpdateModelEvent         += AddPangolinViewModel_UpdateModelEvent;
            ReloadSelectedModelEvent += AddPangolinViewModel_ReloadSelectedModelEvent;
            PropertyChanged          += AddPangolinViewModel_PropertyChanged;
            ReloadModelEvent         += AddPangolinViewModel_ReloadModelEvent;
        }