For you desire result you just need toggleClass instead of remove and addClass.
$('.package_wrap li').click(function() {
$(this).toggleClass('active');
});
.active {
background-color: lightgreen;
}
Run code snippetExpand snippet
I hope this will help.