added button control for brightness