Remove legend focus class when reverted