Added checks, so that it will only set the value if the field is present in the wddx packet. Will also update any activities that exist in a learning design, and delete unused ones. instead of creating new entries each time al earning design is saved