database is now modified by background thread leaving GUI thread free