Add preference to dim the background