diff --git a/lib/smalltalk.js b/lib/smalltalk.js
index <HASH>..<HASH> 100644
--- a/lib/smalltalk.js
+++ b/lib/smalltalk.js
@@ -104,7 +104,7 @@ function showDialog(title, msg, value, buttons, options) {
 }
 
 function keyDown(dialog, ok, cancel) {
-    return event => {
+    return (event) => {
         const KEY   = {
             ENTER : 13,
             ESC   : 27,
@@ -122,8 +122,6 @@ function keyDown(dialog, ok, cancel) {
         const names = find(dialog, namesAll)
             .map(getDataName);
         
-        let is;
-        
         switch(keyCode) {
         case KEY.ENTER:
             closeDialog(el, dialog, ok, cancel);
@@ -144,12 +142,11 @@ function keyDown(dialog, ok, cancel) {
             break;
         
         default:
-            is = ['left', 'right', 'up', 'down'].some((name) => {
+            ['left', 'right', 'up', 'down'].filter((name) => {
                 return keyCode === KEY[name.toUpperCase()];
-            });
-            
-            if (is)
+            }).forEach(() => {
                 changeButtonFocus(dialog, names);
+            });
             
             break;
         }
refactor(keydown) let, some -> filter