Finalize the app