added fetching contract ID from selected table cell