Adding active class to selected note