Undoing unwanted changes caused by visual studio