Auto-Shutoff and Cancel Button