Modified to keep graph condition in localStorage.
Applied to application cache.