You can move this into the if not cancelled statement to avoid having to add and then remove