Finalized the UI of the application.