Implement the funtion of show activity messgae.