Update DatabaseDataManager.java

Prevent full the database of track rows without "device_id", it is a lost data on database