Completes the app.