Workaround for android when sending offline event when openning keyboard. Sending back message to parent window when app is available