ItemData.java to change age to absolute year to calculate the year the item was bought. ViewItemActivity.java to update the itemData so that the item is updated when user comes back to the Edit activity from the View activity. EditItemActivity.java to fix the error display the Age, index must be typecasted to int.