My project is:1- I have 3 devices (refrigerator, washing machine and a television) I need to take a current for each device and connect it to the Arduino (done that by the ct sensor and connected them , and I want to display on the LCD how much of current I consume from the maximum to the minimum)2- I have 2 sources of electricity connected to the arduino : governmental and the generator (but I don't know how to connect them).I need when the governmental electricity goes off the higher 2 currents shown on the LCD goes off and keep the 3rd and after discussion turn the generator on and keep the 3rd device on, and in case the governmental electricity came give it the priority.3- I want to use an Automatic/manual button, in case automatic is chosen the system does what is explained in (number 2) and in case of manual I can choose from the LCD from the devices on which one to turn it off.

I kind of understand now. You want a menu or interface to control which appliance to turn on and off? That takes a lot of programming to do. I recommend you to use a simple approach first, one button for each appliance. If you sense the button, you turn the appliance on or off.

There is another thread here --> http://arduino.cc/forum/index.php/topic,133086.msg1001373.html#msg1001373 <-- which decodes a bit more of what he is trying to accomplish. These are bordering on cross-posting but due to the language problems it might be best to keep them both going.