Set up the app form.