Fixed another saving bug

Fixed the bug that asks to save on exit after the user has already saved
using the Ctrl+S shortcut