- readd save settings hook (fixes #40)