Fixed bug in adding activity to Lead, Contact, Accoutn detail. I was calling save() after serverRefresh. Dumb. Must have copied that code from somewhere.