completed - task : refact association related methods in database ui 

bug found:
test basicRecordInfoDialog, add association: nothing to choose from;
click save on bean dialog, exception: the activity of the same id is already associated with the session. but the activity is newly created!