Fixed crash when changing icon to non-existent file