docs: private void updateStorageInfo(){
  
          long cacheSize = updateStoragePrefreneces(this);
          //cache management ends here
  
          TextView tv = findViewById(R.id.sdcardstate_value);
          final String state = Environment.getExternalStorageState();
  
          boolean mSdCardAvailable = Environment.MEDIA_MOUNTED.equals(state);
          tv.setText((mSdCardAvailable ? "Mounted" : "Not Available") );
          if (!mSdCardAvailable) {
              tv.setTextColor(Color.RED);
              tv.setTypeface(null, Typeface.BOLD);
          }
  
          tv = findViewById(R.id.version_text);
          tv.setText(BuildConfig.VERSION_NAME + " " + BuildConfig.BUILD_TYPE);
  
          tv = findViewById(R.id.mainstorageInfo);
          tv.setText(Configuration.getInstance().getOsmdroidTileCache().getAbsolutePath() + "\n" +
              "Cache size: " + Formatter.formatFileSize(this,cacheSize));
      }