added ability to insert records into db in deviceActivity, when the summaryView is called it prints all the records in the database in the logs