how to remove active class with button click