Trying to add messages for each devices on button click