 
   if (runWhenExit) {
     /* Request to load the sketch - do so */
-    loadSketchReset(filename);
-  } else {
-    /* Undo the setting of loading the sketch */
-    setLoadOptions(NULL, 0);
+    PHN_loadSketch(filename);
   }
 }
 

void editSketch(char filename[9], boolean runWhenExit) {
  /* Make sure to re-initialize the SD volume to prevent corruption */
  updateVolume();

  /* Mark sketch for loading */
  setLoadOptions(filename, SETTINGS_LOAD | SETTINGS_LOADWIPE);

  /* Open or create the hex/ski files and store their locations on the Micro-SD */
  uint32_t ski_data_block = 0;

  }
}

/*
 * Used to draw an icon with text underneath it in a portable, re-usable manner.
 * x/y/w/h specifies the location and size of the icon drawn
