Proposing method for catching return key when sending message