Detects if game has already been saved or not before prompting the user to save on exit