ipc: Move IPC listners to different function.
ipc: Move IPC listners to different function.

Those IPCs were wrongly put in the activateTab function.

zulip/zulip-electron,zulip/zulip-desktop,zulip/zulip-electron,zulip/zulip-desktop,zulip/zulip-desktop,zulip/zulip-desktop,zulip/zulip-electron