Added actionListeners for configureSubnetsButton and configureHostsButton, changed the behaviour of the tabs