Update isFlashOn variables.