title: I want to change state of the component without reloading metro in react-native
body: <p>so basically i have bunch of apps in my application
  as you can see in image
  In my app it check if application is installed or not, if its installed its shows open and if not it shows install now the issue i'm facing is if application is not installed, i click on the button install, it will redirect to play-store then i will install, now whenever i came to my main
  page, without reloading metro, the title of button is not updating to open. example. :-<br />
  now the last app, i have already installed but title of button is not changed yet.
  when i reload the metro it will show open as title, but i want to, without reloading metro, i want change button title.</p>
  <pre><code>import React, { Component } from 'react';
      import { Text, Image ,View, Button, Linking } from 'react-native'
      import * as ApkManager from 'react-native-apk-manager';
      import styles from './styles'
      
      class A extends Component {
           constructor(props){
           super(props)
             this.state = {
                title: &quot;Install&quot;,
                buttonStatus: false
             }
         }
        
         componentDidMount() {
           console.log(&quot;state has been mounted&quot;)
            ApkManager.isAppInstalled(this.props.props.packageName).then((data)=&gt; {
            if(data == true){
               this.setState({
                   title: &quot;Open&quot;
               })
            }
          });
         }
      render(){
              return(
               &lt;View style={styles.container}&gt;
                &lt;Image source={{ uri: this.props.props.imageIcon}}
                       style={{width: 100, height: 100, margin: 10}}/&gt;
                 &lt;Button style={styles.button}
                    title={this.state.title} 
                    onPress={() =&gt; {
                        if(this.state.title == 'Install'){
                          Linking.openURL(this.props.props.storeUrl)
                        }else{
                               this.state.title = 'Open'
                               ApkManager.openApk(this.props.props.packageName);
                      }
                    }}
                 /&gt;
              &lt;/View&gt;
             )
          }
      }
      export default A
  </code></pre>