Fixed issue #1923: Once Credential node is activated, pressing apply button in Settings dialog will close the dialog

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>