demonstrates how to save and load data with PhoneGap