Removed bug that crased the application when an unselected file was removed