Updated onSaveInput to make sure that setState has completed before calling saveFile
Updated onSaveInput to make sure that setState has completed before calling saveFile

rBurgett/markdown-editor,rBurgett/markdown-editor