Added delegate method to avoid cancel action.