Fixed Priority not showing up in DefectDetailsPanle. Changed if str !=
"" to if str != null and the actions of the if and ewlse needed to be
switched