store checkbox's status