Refresh automatically when deleting notes