updated assign activity so it can deal with select all. finished but untested.