How can I prevent the user to tick several boxes