Fixed Bug 6620 - Cannot properly remove item from current solution

Bug happened because after deletion file, the solution was not save.