Store collections in database and update listview when data changed