Properly apply edit dialog brightness value.

Change-Id: If0bc90f045e5549dced296a7944e9ed0ea98b0c9
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_packages_apps_Settings into cm11