Use headerbar for preferences dialog https://bugzilla.gnome.org/show_bug.cgi?id=728390