Use headerbar in settings dialog

I hope this cause no bugs.