Fix duplicate "onPreferenceChange"

Change-Id: Iff4f5df28cedf13a4107135d9cb8bb72acb6ef5e