Fixed the saving notepad bug issue.