added .active class to the pending tab