FIXED: manual key exchange

Fixed the manual key exchange activity to remove key exchange messages if the contact has accepted or rejected them. Also, fixed the DBA method for deleting messages since it was  opening and closing the DB incorrectly.