Added code for resetting the brightness back to its original value.