Add MASPreferencesWindowDelegate to allow notify close action