Fixed appleseed.studio preserves the state of the user interface across runs

Built this and it does the job. Let me know if the code is up to par. Thank you.