-#include <IRremote.h>
-#include <LiquidCrystal_I2C.h>
+#include <IRremote.h>      // https://github.com/z3t0/Arduino-IRremote
+#include <LiquidCrystal_I2C.h>  // https://github.com/fdebrabander/Arduino-LiquidCrystal-I2C-library
 #include <Wire.h>
+
+#pragma region Definitions
 
 // Set the LCD address to 0x3F for a 16 chars and 2 line display
 // You can find the address of your I2C device using https://playground.arduino.cc/Main/I2cScanner

const int backlightLCD = 9;
const int WhiteLEDStrip = 5;
const int RedLEDStrip = 6;

int activeLED = WhiteLEDStrip;

// Defining a special character to use as brightness icon
byte sunCharacter[8] = {
	0b00000,
	0b00100,
	0b10101,
	0b01110,
	0b11011,
	0b01110,
	0b10101,
	0b00100
};

// Brightness step variables set the amount of brightness to change, while using the lights manually(not for alarm).
int brightness = 0;

long alarmStepTime = 0;
long lastTimeReading = 0;

// Alarm will end after 3 hours
long alarmDuration = 10800000;

long startTickingAfter = 1800000; // Thirty minutes 1800000
long startingTickerInterval = 4000;
long tickerInterval = startingTickerInterval;
long tickerStateChangeTime = 600000; // Ten minutes 600000
long tickerStateChangedAt = 0;
long tickerToggledAt = 0;
bool tickerActive = false;
bool tickerOn = false;
bool tickerEnabled = true;

int backlightBrightnessForNight = 1;
int backlightBrightnessForDay = 255;
