Improved functionality of the dropdown checkbox.