Functionality for the Swarm menu button.

Signed-off-by: Vallle <seifer_50@hotmail.com>