                       %
                       [:date :weight :bf :water :muscle]))
       (write-logfile activity (listing->csv @listing))
-      (update-ui activity))))
+      (update-ui activity date-key))))
 
 (defn date-picker [activity]
   (proxy [DialogFragment DatePickerDialog$OnDateSetListener] []

              m)))

(defn format-listing [lst]
  (apply conj [:table-layout {}]
         (map (fn [[_ measurements]]
                (format-measurements measurements))
              lst)))

              [neko.resource :as res]
              [neko.find-view :refer [find-view]]
              [neko.threading :refer [on-ui]]
              [neko.ui :refer [config make-ui]]
              [neko.ui.mapping :refer [defelement]]
              [clojure.string :refer [join split-lines split]]
              [clojure.java.io :as io]
              [my.stuff.fitlogger.sebas :as seb])
    (:import (android.widget EditText TextView)
             (android.view ViewGroup)
             (java.util Calendar)
             (java.io File)
             (android.app Activity)
