EWOD system designed for optical switching