Habits improve memory