Added option to delete device