Started implementing method to set the last scanned item