Activity 3: Updating the app to scan and store barcode data