Respect default gateway option when adding a gateway from interfaces page. It fixes #3230