Checkbox is now working in detail view