check boxes are checked based on user interests. db query when state changes of boxes