Instead of hardcoding an accelerator in the ui file, use gtk_application_set_accels_for_action.
This new step sets the headerbar as titlebar, and enables fallback for the app menu.