Save priority and context in ordered list text file correctly