Fix theme for preference class