 void changelcdicon()
 {
 
-  if ( o_wrkMode == True && o_startMode == True ){
+  if ( o_wrkMode == 1 && o_startMode == 1 ) {
     lcd.setCursor(0, 1);
     lcd.write(2);
-    
-    if ( o_beepMode == True) {
-      lcd.setCursor(1, 1);
+
+    if ( o_beepMode == 1 ) {
+      lcd.setCursor(2, 1);
       lcd.write(3);
     }
 
-    if ( timerStatus == True) {
-      lcd.setCursor(2, 1);
+    if ( timerStatus == 0 ) {
+      lcd.setCursor(4, 1);
       lcd.write(4);
+    } else {
+      lcd.setCursor(4, 1);
+      lcd.print(" ");
     }
   } else {
     lcd.setCursor(0, 1);
-    lcd.print("    ");
-  }
-
-  if ( tvPowerStatus == True) {
-      lcd.setCursor(3, 1);
-      lcd.write(4);    
+    lcd.print("     ");
+  }
+
+  if ( tvPowerStatus == 1 ) {
+    lcd.setCursor(6, 1);
+    lcd.write(5);
   } else {
-    lcd.setCursor(3, 1);
-    lcd.print(" ");    
-  }
-
+    lcd.setCursor(6, 1);
+    lcd.print(" ");
+  }
+  irrecv.enableIRIn();
 }
 
 void changemodebyir (decode_results *results)
 {
-  //Serial.println("======> IR code received");
-
+ 
   if ( results->bits > 0 && results->bits == 32 ) {
     switch (results->value) {
       case 0xFF02FD: // remote on
         o_wrkMode = ! o_wrkMode;
-        o_startMode = True;
+        o_startMode = 1;
         r = !r;
         break;
       case 0xFF9867: // remote off

  alarm_set();

  //
  boolean initialise_eeprom_done =  initialise_eeprom(pwrSrc, wrkMode, startMode, beepMode, offMode, channelGap, tvOnTime, tvOffTime) ;

  while (initialise_eeprom_done != 1 ) { }


  lcd.setCursor(0, 1);
  lcd.print("OFF: do nothing");

  int startMode = initialise_boolean_select();
  alarm_set();

  lcd.clear();
