Id tracks and save them to database