Added try and catch block on Run Button method.