A method includes receiving up-to-date blood glucose data for a PWD, determining basal insulin dosages for the PWD based on a baseline basal rate, delivering the basal insulin dosages to the PWD, modifying a target blood glucose level based on variability of blood glucose data for the PWD, receiving a temporary override indicating a user preference to reduce the likelihood that the PWD has a hypoglycemic event or a user preference to reduce the likelihood that the PWD has a hyperglycemic event, determining a temporary target blood glucose level based on the input—greater than the modified blood glucose level if the preference is to reduce the likelihood of a hypoglycemic event—lower than the modified target blood glucose level if the preference is to reduce the likelihood that of a hyperglycemic event. The method includes delivering basal insulin for the temporary period of time based on the temporary target.