fixed friend timing problem and option setting in contacts/edit