                         settings          : @props.settings
                         onSend            : @sendMessage
                         composeInHTML     : @state.composeInHTML
-                        focus             : focusEditor
-                        ref               : 'editor'
                         getPicker         : @getPicker
                         useIntents        : @props.useIntents
+                        ref               : 'editor'
+                        key               : 'editor-' + prefixKey
 
                 div className: 'attachements',
                     FilePicker


        classLabel = 'compose-label'
        classInput = 'compose-input'

        focusEditor = Array.isArray(@state.to) and
            @state.to.length > 0 and

                    valueLink: @linkState 'to'
                    label: t 'compose to'
                    ref: 'to'
                        key: 'to-' + prefixKey

                MailsInput
                    id: 'compose-cc'
