Adds and implements priority field.
Implements a locking checkbox for priorities.