Reset state on revisit