Add ability to edit commit path.

Switch to localStorage instead of sessionStorage.