Add 'active' class on button when active and remove the class else (with the related display effect)