Updated card detection to dynamically optimize settings