 
 (register-handler
   :handle-activation
-  (fn [app-state [_ tab]]
+  (fn [app-state [_ tab start-time]]
     (console/log "Handling activation" tab)
     (if tab
       (assoc-in app-state

      ;; De-activate every inactive tab
      (doseq [tab now-inactive]
        (dispatch [:handle-deactivation tab true (:time suspend-info)]))
      (console/log "From suspend:" suspend-info)
      (console/log "Still active:" active-old-tabs)
      app-state
      )
    ))

                (-> tab
                    select-tab-keys
                    (assoc :active true
                           :start-time (or start-time (now)))))
      app-state)))


