Fixes bug where selected libraries are not being remembered across sessions. The cookie banner was accidentally removed, and without consent being given, we don't set any cookies.
(Also a cleanup because we were actually setting a theme cookie in duplicated code, and a bit of refactoring during debugging).
Fixes bug where selected libraries are not being remembered across sessions. The cookie banner was accidentally removed, and without consent being given, we don't set any cookies.
(Also a cleanup because we were actually setting a theme cookie in duplicated code, and a bit of refactoring during debugging).