Using light to restore cell function