Adding Updated Code of String Comparison with new UI