Fixed saving of user settings

fixed #61