Load settings on file save

Fix #3.