fixed race condition loading flash files
causing the wrong flash files array to be used in preselect