Edit highlight and clear highlight logic

Add hint when the selected number is not valid under current situation