Listens for changes to settings