Fixed database deletion; Added delete to Edit and Photo activities