Clear packs button and function