diff --git a/src/editor.js b/src/editor.js
index e24c030..3163559 100644
--- a/src/editor.js
+++ b/src/editor.js
@@ -199,6 +199,11 @@ function openFile() {
 }
 
 function openBinFile() {
+  if (true !== config.general.hexmode) {
+    toast("Please first enable 'Hex Mode' in General tab.");
+    return;
+  }
+  
   dialog
     .showOpenDialog({
       properties: ["openFile"],
diff --git a/src/serialport.js b/src/serialport.js
index d82c58a..9cd95b4 100644
--- a/src/serialport.js
+++ b/src/serialport.js
@@ -127,7 +127,7 @@ function serialGetOptions() {
 }
 
 function toast(text) {
-  mcss.toast({ html: text, displayLength: 1000 });
+  mcss.toast({ html: text, displayLength: 2000 });
   // alert(text)
 }