button to remove last condition