set autofocus for messages