 (defn save-locally! [activity instruction]
   (when-let [name (:name instruction)]
     (when-let [url (:url instruction)]
+      (log/i "darknet" "getting bytes...")
       (server/get-bytes url
                         (fn [bytes]
-                          (storage/write-bytes! bytes name))))))
+                          (log/i "darknet" "writing bytes...")
+                          (storage/write-bytes! bytes name)
+                          (on-ui
+                              (toast (str "Saved " name))))))))
 
 (defn view-local [activity instruction]
   (when-let [name (:name instruction)]

                            :on-error (fn [e]
                                        (log/i "darknet on error" (.getMessage e))
                                        (set-status! this Color/RED)
                                        (Thread/sleep 200)
                                        (new-client))})))]
          (new-client)))
      (on-ui
          (set-content-view! this

                                                                   (let [out (java.io.StringWriter.)]
                                                                     (pprint sizes out)
                                                                     (.toString out))}]))
                               "stop" (sv (layout this idle-screen))
                               :default))))
          sizes {:rear  (camera/preview-sizes 0)
                 :front (camera/preview-sizes 1)}]
