fixed MacOS Continuous Press 'Command + S'

Solve in MacOS 10.9.4,  continuous press 'Command + S' save file bugs