Implemented scanning card only first time when plugin started