AbsActivity: update license
NewPostActivity: check if the messgae is empty