(mainwindow) Refresh library when updating library (db)
(librarymodel) Fix crashs with empty library
(librarymodel) Fix a bug with checkbox recursion