Fixed issue with resetting of background color for checkboxes in register form validation