Purchases menu, sum in front activity, dataAdapter improvements