Read and Write data from Resource when EXE is exported

Godot Version

4.2

Question

Hi! So I have a todo list idea, I save data in an Array, each task saved is also an array containg a name, task and color. So an Array within an array and this is saved in a Custom Resource. Everything works great until I export the EXE file, then it would not write the data to the Resource file but only read from it. How could I read and write my Custom Resource or any other suggestions to get my data is welcome. Thank you in advance.