refactor to match change in focus to tray scan