Reset the dirty bit after preferences are saved.

Bug: 48703
Change-Id: I5768c455324396d503646a4c803e9d512f47c0e1
Merge "Reset the dirty bit after preferences are saved."