Change Led logic and many fix