title: Data still appear after get deleted
body: <p>Im new at react native, i hane an issue to delete data. I got the data from this.props.getAllRouteSchedules. After i delete the data, the data still appear, i have to go back to previos screen and back again to the screen to make it gone. I tried to call the screen again after click delete, and it work the data gone, but if i delete 3 data i have to back 3 times to exit the screen. Im confuse how to make the screen dismiss after i press back.</p>
  
  <p>This is my code :</p>
  
  <pre><code>confirmDelete = () =&gt; {
      Alert.alert(
        'Delete RouteSchedule?',
        'Are you sure you want to delete the RouteSchedule?',
        [
          { text: 'Cancel', style: 'cancel' },
          {
            text: 'OK',
            onPress: () =&gt; {
  
              deleteScheduleScreen(this.props.deleteRouteSchedule(this.state.selectedId))
  
  
            }
          }
        ],
        { cancelable: false }
      )
    }
  </code></pre>
  
  <p>this is the render part :</p>
  
  <pre><code>&lt;TouchableHighlight style={styles.buttonAgree} onPress={() =&gt; {
                            this.confirmDelete();
                            this.setModalVisible();
                            }}&gt;
                        &lt;Text style={styles.buttonTextAgree}&gt;Agree&lt;/Text&gt;
                      &lt;/TouchableHighlight&gt;
  </code></pre>