add change brightness method in app level.