Made Barenus work on dark mode
Fixed bug for migrating preferences