certain UI setup out of the Application class