Bug 985863 - modify the priority button only if it exists, improve error reporting r=philipp a=philipp