1. A method comprising: executing a virtual application on a first device, said virtual application having a first configuration and a first state, said virtual application including a plurality of resources, the plurality of resources including a second application; detecting a change to said virtual application, said change defining a second state, said change affecting at least one of said plurality of resources; determining a first context for said second state, said first context not being a user context or a machine context; and storing said change based on said first context.