Backward Sync: Add support for conversion of colorId to priority integer