title: react-Native Change color on selected item in flatlist
body: <p>I have a flat list that renders several buttons, I want to mark the selected button inside esee flat list, I tried a lot of things but in all of them the flat list mark all the items once I select one, besides that, it does not update until i Update something in the component and save the changes, then it does hot reloading and this is how the marked items are displayed</p>
  
  <pre><code> constructor(props) {
      super(props);
      this.state = {
         pressStatus: false,
      };
  
      _onShowUnderlay(){
         this.setState({ pressStatus: true });
      }
  
      render() {
         return (
            &lt;FlatList
                      keyExtractor={this._keyExtractor}
                      data={this.state.ninosPicker}
                      renderItem={({item}) =&gt; (
                         &lt;View style={styles.hijos}&gt;
                            &lt;TouchableHighlight
                               activeOpacity={1}
                               underlayColor="#3fa9f5"
                               onShowUnderlay={this._onShowUnderlay.bind(this)}
                               style={this.state.pressStatus ? styles.buttonPress : styles.botonsito }
                               onPress={() =&gt; this.setHijo(item.grado, item.grupo)}&gt;
                                   &lt;Text style={this.state.pressStatus ? styles.welcomePress : styles.titBtnGyG }&gt;{item.name}&lt;/Text&gt;
                             &lt;/TouchableHighlight&gt;
                             &lt;TouchableHighlight
                                activeOpacity={1}
                                underlayColor="#3fa9f5"
                                style={this.state.pressStatus ? styles.gradosPress : styles.grados }&gt;
                                    &lt;Text style={this.state.pressStatus ? styles.welcomePress : styles.titBtnGyG }&gt;{item.grado}&lt;/Text&gt;
                             &lt;/TouchableHighlight&gt;
                             &lt;TouchableHighlight
                                 activeOpacity={1}
                                 underlayColor="#3fa9f5"
                                 style={this.state.pressStatus ? styles.grupoPress : styles.grupo }&gt;
                                     &lt;Text style={this.state.pressStatus ? styles.welcomePress : styles.titBtnGyG }&gt;{item.grupo}&lt;/Text&gt;
                             &lt;/TouchableHighlight&gt;
                         &lt;/View&gt;
                        )}/&gt;
  </code></pre>