Set state on init for checked checkboxes