modified proceedWithEdit to correctly edit priority