Enhancement of stability in optical switching of photosensitive liquid crystal by means of reflection mode analysis