Fixed the issue where settings changes were not reflected immediately. (...

...Github issue #2)