Fixed minor bug in AddGatewayCtrl
Merge pull request #814 from bartekn/minor-bug-fix-adding-gateway

Fixed minor bug in AddGatewayCtrl