140620

there is no need for if/else here. In the content provider you use this: 
'''java
db.insertWithOnConflict(Tables.PHOTO_COMMENTS, null, values, SQLiteDatabase.CONFLICT_REPLACE);
'''