El modo nocturno predeterminado no funciona

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