added the add/show all button and its functionality