Finalize UI layout