End button crash fixed. scanning on pressing from DeviceList is not
working properly.