Fix the application launch based on process name and id because xls file open returns null so that have to use process name like excel.