Added datased detection

When new dataset was added, it wasn't rendered because only length of existing first dataset was watched.