Fixed UI design and fixed bugs for Result PDF Generation