Hi, it should be permanent as long as you quit properly X-Plane. If the sim crashes, x-plane will not save any of the settings chanted during the session.
Where have you installed x-plane? Laminar Research recommends to install it on the desktop, so that the sim can access its own files.
You should also include your .../X-Plane/log.txt file and give as many details as possible.