Added bool in shareperference to detect whether "brightness" refreshed or not.