Added saving and loading of applicationType