Handling the user selected chkbox preferences