Change to using graph widget for time between states