title: React Native AsyncStorage not overwriting data
body: <p>I am trying to make an app and I have a few objects in an array which I use AsyncStorage for. I need to change one element of an object but if I try changing it, it doesn't keep those changes.</p>
  
  <p>My code:</p>
  
  <pre><code>save = async () =&gt; {
  this.state.dataSource.notes = this.state.text;
  try {
    AsyncStorage.clear();
    await AsyncStorage.setItem('medicines', JSON.stringify(this.state.dataSource));
  } catch (error) {
    console.log('error');
  }
  this.setModalVisible(!this.state.modalVisible);
  </code></pre>
  
  <p>The <code>this.state.text</code> stores the value of the text input.</p>
  
  <p>The <code>this.state.dataSource</code> stores the array of objects.</p>
  
  <p>Both of these work like they should.</p>
  
  <p>The array looks like this: </p>
  
  <pre><code>Array = [
  item = {
      id: 'id',
      name: 'name',
      brand: 'brand',
      inname: 'inname',
      chosenWeekDay: 'week day',
      androidDate: 'date for android',
      chosenAndroidTime: 'time for android',
      notes: 'notes in a string',
    }]
  </code></pre>