DEV: Add stopping condition in ChooseImage