Bind swicth color with live preview when change directly value into input