Added delete function for recently viewed