move applicationPreferences to www directory so it can be shared between android and ios