How to remove or put a class to an element when I click on another