                              (.insertCode console (str "(do " code ")")))
                            (s/request-focus! (.getView (.getViewport console))))
         build-action (fn [e]
-                       (toggle-repl-buttons @utils/ui-root false)
+                       (toggle-repl-buttons build-group false)
                        (lein/build-project process thread in out path))
         test-action (fn [e]
-                      (toggle-repl-buttons @utils/ui-root false)
+                      (toggle-repl-buttons build-group false)
                       (lein/test-project process thread in out path))
         clean-action (fn [e]
-                       (toggle-repl-buttons @utils/ui-root false)
+                       (toggle-repl-buttons build-group false)
                        (lein/clean-project process thread in out path))
         stop-action (fn [e]
-                      (toggle-repl-buttons @utils/ui-root false)
+                      (toggle-repl-buttons build-group false)
                       (lein/stop-process process)
                       (lein/stop-thread thread))
         btn-group (utils/wrap-panel

        thread (atom nil)
        in (utils/get-console-input console)
        out (utils/get-console-output console)
        run-action (fn [e]
                     (toggle-repl-buttons @utils/ui-root false)
                     (lein/run-project process thread in out path))
        run-repl-action (fn [e]
                          (toggle-repl-buttons @utils/ui-root true)
                          (lein/run-repl-project process thread in out path)
                          (s/request-focus! (.getView (.getViewport console))))
        eval-repl-action (fn [e]

                            (s/button :id :sdk-button
                                      :text (utils/get-string :android_sdk)
                                      :listen [:action set-android-sdk]
                                      :focusable? false)])]
    (s/config! build-group :north btn-group)
    (toggle-repl-buttons build-group false)
    (shortcuts/create-mappings build-group
                               {:run-button run-action
