Added a custom YambaApplication class to manage YambaClient as a singleton.
Registered the application object as a preference change listener.
Discard existing YambaClient whenever related preference values change.