Fixed sending messages from extension