   (timetable-create!)
   (set! ModulesSelected {})
   (set! ModulesSelectedOrder [])
-  (select2/select2-box-set-val select2/$Select2-Box (array))
+  (select2-box-update-modules)
   (set-document-location-hash! ""))

  "Appends a module to `ModulesSelectedOrder`"
  [moduleCode]
  (set! ModulesSelectedOrder (conj ModulesSelectedOrder moduleCode)))

(def ^{:doc     "Converts a short form lesson type string to its long form"
       :private true}

        ; Remove from `ModulesSelectedOrder`
        (set! ModulesSelectedOrder (remove #{moduleCode} ModulesSelectedOrder))
        (.log js/console "I hear and obey!")
        ; Update Select2 box
        (select2-box-update-modules))))

(defn remove-all-modules
  "Removes all modules from the timetable"
