fixed controller for edit item to show correct priority.
Merge remote-tracking branch 'origin/master'