                 (not tag-exists?))
        (reset! tags-atom (conj (vec @tags-atom) new-tag))
        (reset! new-tag-atom ""))))
-  ([tags-atom new-tag-atom state reload-fn]
-   (let [save-settings (first (plugin-fun (session/get :plugins) "settings" "save_settings"))]
-     (do
-       (add-tag tags-atom new-tag-atom)
-       (save-settings state reload-fn "share")
-       ))))
+  ([tags-atom new-tag-atom state]
+   (do
+     (add-tag tags-atom new-tag-atom)
+     (save-settings state)
+     )))
 
 (defn remove-tag [tags-atom tag-value]
   (reset! tags-atom (remove #(= % tag-value) @tags-atom)))

            :value       @new-tag-atom
            :on-change   #(reset! new-tag-atom (-> % .-target .-value))
            :on-key-down #(if (= (.-which %) 13)
                            (add-tag tags-atom new-tag-atom state reload-fn))}]))

(defn tags
  ([tags-atom] (tags tags-atom true))

                   :dangerouslySetInnerHTML {:__html "&times;"}
                   :on-click #(remove-tag tags-atom tag)}])])))
  ([tags-atom state reload-fn]
   (into [:div.tag-labels]
         (for [tag @tags-atom]
           [:span {:class "label label-default"}
            tag
            [:a {:class "remove-tag"
                 :dangerouslySetInnerHTML {:__html "&times;"}
                 :on-click #(do
                              (.preventDefault %)
                              (remove-tag tags-atom tag)
                              (save-settings state))}]]))))
