Rename sample is working

Major:
Editactivity is still out of order
upload doesn't work
Occasional crashes, error loading sample 1.