To perform LED  ON/OFF operation using switch