creating the activity to manage the devices data