ECMS-5062 clear checkboxes and css for selected items, also fix problem with clipboard