Add a delegate method to prevent the message bar becoming active