Added listener for outside change events.