fix for goBack() function when "cancel" is pressed during the creation of a new task