Fix crash when logging out
When logging out, we attempted to clear out some core data entities named "Suggestion", but this didn't exist, leading to an abort. It's not clear why "Room" and "Suggestion" were the only things cleared, but it makes sense to clear all of the entities on logout, as they will be reloaded anyway. Delegate the list to the JsonToDatabase, so as to avoid these getting out of sync again (albeit not in the ideal way).
Showing with 13 additions and 1 deletion