AppCompatdelegate.setDefaultnightMode (AppCompatdelegate.mode_night_yes) nicht funktioniert

IF setdefaultnightmode() IS NOT WORKING 
YOUR ACTIVITY SHOULD extend AppCompatActivity
PizzaSolver