Added 'message id auto-generated' flag

in init(), you should set the default value for mMessageIDAutogenerated to false.