Added features: asking user to confirm changes and deletion before confirmation