fixed 'cancel' button upon addind new prediction.