Add AppSettings, returns last version code before update.
Use new AppSettings.