Add active class to span on click.