Implemented task priority determination to task model 'beforeCreate' lifecycle callback.