added cancel action for menu