handleScrollSave now saves the task with in-focus class (determined by handleScrollFocus as the centered task) rather than recalculating which task is closest to the top. This ensures consistency between what's highlighted and what's saved.
handleScrollSave now saves the task with in-focus class (determined by handleScrollFocus as the centered task) rather than recalculating which task is closest to the top. This ensures consistency between what's highlighted and what's saved.