    (let [competition (om/props this)
          name (:competition/name competition)]
      (dom/tr
-      ;; TODO - this should be handle be some remote mechanism
-      ;; TODO - set app status to remote query then reset at query done
+      ;; TODO - this should be handle by some remote mechanism
       #js {:onClick #(do
                        (chsk-send! [:event-manager/query ['[*] [:competition/name name]]])
                        (om/transact! this `[(app/select-competition {:name ~name})])
-                       ;(om/transact! this `[(app/select-competition {:name {}})])
+                       (om/transact! this `[(app/status {:status :querying})])
                        )}
       (dom/td nil name)
       (dom/td nil (:competition/location competition))))))


      (dom/div #js {:className "container-fluid"}
               (dom/div #js {:className "row"}
                        (when (not (empty? selected-competition))
                          (dom/div #js {:className "col-sm-2 col-md-2 sidebar"}
                                   (dom/div nil (dom/u nil (:competition/name selected-competition)) )
                                   (apply dom/ul #js {:className "nav nav-sidebar"}

  (d/transact! conn [{:db/id -1 :app/id 1}
                     {:db/id -1 :selected-page :competitions}
                     {:db/id -1 :app/import-status :none}
                     {:db/id -1 :app/status :running}
                     {:db/id -1 :app/selected-competition {}}
                     ]))

