Adding the checkbox using the custom solution