Fix Activity leak and implement change notification for preferences

Change-Id: I73d4a1f6a8343fd68e69600bf18185280e60e9e4
2 files changed