Added functionality for list of devices, which are saved in db