diff --git a/src/view/ThemeManager.js b/src/view/ThemeManager.js
index <HASH>..<HASH> 100644
--- a/src/view/ThemeManager.js
+++ b/src/view/ThemeManager.js
@@ -53,7 +53,7 @@ define(function (require, exports, module) {
         if(cm) {
             ThemeView.setDocumentMode(cm);
 
-            if(force === false) {
+            if(!force) {
                 ThemeView.updateThemes(cm);
                 refreshEditor(cm);
             }
@@ -250,7 +250,7 @@ define(function (require, exports, module) {
 
 
     $(EditorManager).on("activeEditorChange", function() {
-        refresh(true);
+        refresh();
     });
Fixed issue with unnecessary reload of themes when opening a new document