How can i save my .asset file.

Hey! my asset file revert when i start the scene or restart the project, here is the code:

I removed some inutile code. (all this code is in an editor window)

        SMP2_store Storage;  
    
      void OnEnable()
        {
    
            Storage = (SMP2_store)Resources.Load("store.asset") as SMP2_store;
    
            if (Storage == null)
            {
    
                Storage = CreateInstance<SMP2_store>();
                AssetDatabase.CreateAsset(Storage, "Assets/SaveMePro 2/Resources/store.asset");
                AssetDatabase.SaveAssets();
                AssetDatabase.Refresh();
            }
    
    }
    
        private void OnGUI()
        {

  if (GUILayout.Button("Save", GUILayout.MaxWidth(150)))
        {
                EditorUtility.SetDirty(Storage);
                AssetDatabase.SaveAssets();
                AssetDatabase.Refresh();
                saved = true;
            }
}
    }

Solved it by replacing

 Storage = (SMP2_store)Resources.Load("store.asset") as SMP2_store;

by

 Storage = (SMP2_store)Resources.Load("store") as SMP2_store;