Fixed programmatical activation of message tab