       (dom/div nil
         (dom/h1 nil app-title)
         (apply dom/ul nil
-          (om/build-all note-view (:notes app)
+          (om/build-all note-view (:entered app)
             {:init-state state}))
         (dom/ul nil
           (indent-element
             (dom/li nil (dom/input #js {:type "text" :ref "newNote"
               :placeholder "Enter note here..."
               :onKeyDown #(handle-new-note-keydown % app owner)
-            })) (:tab app)
+              :value (get-in app [:current :title])
+            })) (get-in app [:current :tab])
           )
           ;(dom/button #js {:onClick #(add-note app owner)} "Add note")
         )))))

    (if (and key (not (empty? key)) (not (some #{key} mod-keys)))
      (string/join "+" (conj mods key)))))

(defn handle-new-note-keydown [e app owner]
  (let [code (event->key e)]
  (case code
    "enter"
    (do

  (let [new-note (-> (om/get-node owner "newNote")
                        .-value)]
    (when new-note
      (om/transact! app :entered #(conj % new-note)))))

(om/root
  (fn [app owner]
