Removes crash from cancel option
Now Done