Use preference change listener for the enable switch since the user could slide the switch over and onPreferenceTreeClick would not be called.

Change-Id: I917b51cbee558df88fa702299b00bab6ce065319