Fixed Bug 6620 - Cannot properly remove item from current solution

Bug happened because after deletion file, the solution was not save.
Merge pull request #593 from vitorelli/master

Fixed Bug 6620 - Cannot properly remove item from current solution