Implemented Hidden Checkboxes and Button Checked state