Cancel all messages when openging main activity.