   switch ( mode )
   {
     case BACKLIGHT_MODE:
-      backlight();
+      backlight(forceChange);
       break;
     case CLOCK_MODE:
       clocklight(current);
       break;
     case NIGHTLIGHT_MODE:
-      nightlight(current);
+      nightlight(current, forceChange);
       break;
   }
+  forceChange = false;
   
   if ( digitalRead(MODE_SWITCH_PIN) == LOW )
   {

// and minimize distance between Arduino and first pixel.  Avoid connecting
// on a live circuit...if you must, connect GND first.

byte sensorValue = 0;          // value read from the pot
float brightnessValue = 1.0;   // value read from the pot
// end neopixel


//#define DEBUG
#include <EEPROM.h>

// RTC
// Date and time functions using a DS1307 RTC connected via I2C and Wire lib
#include <Wire.h>
