saving data to the sqlite db in app