Fix issues saving notes contain ampersand characters