Checking state of switchbox for every change!