protect against possible NPE
cursor has been reported to be empty in still unknown circumstances
coding style
make use of constant, and fetch party name from cursor not from view, possibly solving crash report 585600500eb5c9fcbd621fb034403e9c