Modify the adapter for the scan, key listern