Merge "Handle the clear all button in the refactored stack." into main