Update ToChecktheShare.java

Retrieve the information of application and check the string matching. 7/9