Fix: Store data path when closing program