Updated how settings are saved

Settings are saved in the user's home directory now. This prevents the
user from losing their settings if they move the binary around.