resetting list on handleitem in the detail form to avoid losing the editing object