Adds camera release and resets counter on cancel