Port remember window state option  to PraghaPreferences