set up nsuserdefaults for scheduling