Removed method toggleCheckbox and added bind event on checkbox.