Fixed saving/loading settings

Settings are now saved and loaded back in properly after a
reloadui/throughout sessions