If cannot work with the above code snippted because no asset was selected as I explained above. Have you fixed that and it still does not work?