How to close the application when clicking on the close button in title bar

Printable View