added toast popup for invalid scan