modified sender and receiver to match SQLiteDataBase.cs changes