properly manage the refresh of the DB list when deleting an entry and some small tweaks