title: User permission check only works first time after installation
body: <p>My application only shows permission dialog only first time after app has been installed.  If I close it and open again, it doesn't show request window. Even if I manually disable location permission or request permission window on clickEvent it doesnt work.</p>
  
  <p>checkPermission:</p>
  
  <pre><code>private fun checkPermission(){
      if (ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION)
              != PackageManager.PERMISSION_GRANTED) {
          //permission not granted
  
          if (ActivityCompat.shouldShowRequestPermissionRationale(this,
                          Manifest.permission.ACCESS_COARSE_LOCATION)) {
              //show an explanation to the user
          } else {
              //request the permission
              ActivityCompat.requestPermissions(this,
                      arrayOf(Manifest.permission.ACCESS_COARSE_LOCATION),
                      ACCESS_COARSE_LOCATION_CODE)
          }
      } else {
          ActivityCompat.requestPermissions(this,
                  arrayOf(Manifest.permission.ACCESS_COARSE_LOCATION),
                  ACCESS_COARSE_LOCATION_CODE)
      }
  }
  </code></pre>
  
  <p>onRequestPermissionsResult:</p>
  
  <pre><code>override fun onRequestPermissionsResult(requestCode: Int, permissions: Array&lt;out String&gt;, grantResults: IntArray) {
      when(requestCode){
          ACCESS_COARSE_LOCATION_CODE -&gt; {
              if ((grantResults.isNotEmpty() &amp;&amp; grantResults[0] == PackageManager.PERMISSION_GRANTED)) {
                  //granted
              } else {
                  //denied
              }
              return
          }
      }
  }
  </code></pre>
  
  <p>I call <code>checkPermission</code> function on <code>onStart</code> and when I click icon.</p>