updated friend db with new method for byteArray to ArrayList