Theme-based lcd contrast autodetection