Merge "Move ApplicationsState to SettingsLib" into mnc-dev