Fixed NPE in AutoBrightnessDialogPreference