fixed dbHandler hasNewData
merged dbHandler