The Calculator from the PhoneGap in a Day class