Fix issue 723

The isChanged variable doesn't always change when the user is just coming into the legend. Please check my description of issue 723 about what I found for a better description.