Converted PatchSetMessageCard to use cursor

Change-Id: I93a06c932d2c4ade4147fc89b6ee017bab16cb3e