     (.enterLine console (str "(do " code ")")))
   (s/request-focus! (.getView (.getViewport console))))
 
-(defn toggle-buttons
-  [target is-running?]
-  (-> (s/select target [:#run-repl-button])
-      (s/config! :enabled? (not is-running?)))
-  (-> (s/select target [:#reload-button])
-      (s/config! :enabled? is-running?)))
-
 (defn create-builder
   [path]
   (let [console (ui/create-console)

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

                          (lein/run-hot-swap in out path)
                          (eval-in-repl console)))
        build-action (fn [e]
                       (lein/build-project process in out path))
        test-action (fn [e]
                      (lein/test-project process in out path))
        clean-action (fn [e]
                       (lein/clean-project process in out path))
        stop-action (fn [e]
                      (lein/stop-process process))
        btn-group (ui/wrap-panel
                    :items [(s/button :id :run-button
